[ekiga] Made so the linker doesn't find main on win32
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga] Made so the linker doesn't find main on win32
- Date: Mon, 29 Jun 2009 12:13:00 +0000 (UTC)
commit 10d293e6bed9de1cca460a8a6f2bca583d3fe7ff
Author: Julien Puydt <jpuydt gnome org>
Date: Mon Jun 29 14:05:09 2009 +0200
Made so the linker doesn't find main on win32
Patch from Michael Rickmann
src/gui/main.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 8f8c2d3..e859976 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -4307,6 +4307,10 @@ ekiga_main_window_get_current_picture (EkigaMainWindow *mw)
return gtk_image_get_pixbuf (GTK_IMAGE (mw->priv->main_video_image));
}
+#ifdef WIN32
+// the linker must not find main
+#define main(c,v,e) ekigas_real_main(c,v,e)
+#endif
/* The main () */
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]