Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 873cf49a38c8bb19c04f48d59c7f25b9 > files > 5

mingw-gtkhtml3-4.8.0-3.mga5.src.rpm

--- gtkhtml/dllmain.c.orig	2009-07-03 06:46:11.000000000 +0200
+++ gtkhtml/dllmain.c	2009-09-24 19:12:41.653533555 +0200
@@ -84,6 +84,8 @@
 #undef DATADIR
 #include <windows.h>
 
+#ifndef GLIB_STATIC_COMPILATION
+
 /* Silence gcc with a prototype */
 BOOL WINAPI DllMain (HINSTANCE hinstDLL,
 		     DWORD     fdwReason,
@@ -103,6 +105,8 @@
 	return TRUE;
 }
 
+#endif
+
 /* Include gtkhtml-private.h now to get prototypes for the getter
  * functions, to silence gcc. Can't include it earlier as we need the
  * definitions of the *DIR macros from the Makefile above, and