[ekiga/gnome-2-26] Made so the linker doesn't find main on win32
- From: Eugen Dedu <ededu src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga/gnome-2-26] Made so the linker doesn't find main on win32
- Date: Sat, 18 Jul 2009 19:43:16 +0000 (UTC)
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]