[clutter/clutter-1.14] * added DllMain prototype to satisfy maintainer mode compiler error checking



commit 650366c9042130f184dd65cedd9f0f4392175590
Author: Wouter Paesen <wouter blue-gate be>
Date:   Fri Dec 28 21:12:05 2012 +0100

    * added DllMain prototype to satisfy maintainer mode compiler error checking
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690835

 clutter/win32/clutter-backend-win32.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/clutter/win32/clutter-backend-win32.c b/clutter/win32/clutter-backend-win32.c
index 0187527..cb99079 100644
--- a/clutter/win32/clutter-backend-win32.c
+++ b/clutter/win32/clutter-backend-win32.c
@@ -39,6 +39,11 @@
 
 #include "cogl/cogl.h"
 
+/* prototype decleration for DllMain to satisfy compiler checking in 
+ * maintainer mode build.
+ */
+BOOL WINAPI DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved);
+
 G_DEFINE_TYPE (ClutterBackendWin32, clutter_backend_win32,
 	       CLUTTER_TYPE_BACKEND);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]