From 8b357ec0775073f299ce779e49d09658da7da6ee Mon Sep 17 00:00:00 2001 From: Wouter Paesen Date: Fri, 28 Dec 2012 21:12:05 +0100 Subject: [PATCH] * 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 file changed, 5 insertions(+) diff --git a/clutter/win32/clutter-backend-win32.c b/clutter/win32/clutter-backend-win32.c index 01875274c..cb990797b 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);