From: Matthias Clasen Date: Fri, 9 Nov 2007 02:33:16 +0000 (+0000) Subject: Include glibconfig.h before checking G_OS_WIN32. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5d8a5657c58372b59ceb9f01cc8e5e6a5db69a03;p=dana%2Fcg-glib.git Include glibconfig.h before checking G_OS_WIN32. 2007-11-08 Matthias Clasen * gmodule.c: Include glibconfig.h before checking G_OS_WIN32. svn path=/trunk/; revision=5832 --- diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 34c162f7..6958f301 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,7 @@ +2007-11-08 Matthias Clasen + + * gmodule.c: Include glibconfig.h before checking G_OS_WIN32. + 2007-11-07 Matthias Clasen * *.c: Make header include order consistent (#71704, diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 063bd319..06167da0 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -29,6 +29,7 @@ */ #include "config.h" +#include "glibconfig.h" #include #include @@ -38,7 +39,7 @@ #ifdef HAVE_UNISTD_H #include #endif -#if defined (G_OS_WIN32) +#ifdef G_OS_WIN32 #include /* For open() and close() prototypes. */ #endif