[ekiga/gnome-2-26] Made so the linker doesn't find main on win32



commit 9180293f4785d6580f1b24d39541d1faa84144d0
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 b2f72bd..9fbf66e 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -4354,6 +4354,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]