Include glibconfig.h before checking G_OS_WIN32.
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Nov 2007 02:33:16 +0000 (02:33 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 9 Nov 2007 02:33:16 +0000 (02:33 +0000)
2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * gmodule.c: Include glibconfig.h before checking G_OS_WIN32.

svn path=/trunk/; revision=5832

gmodule/ChangeLog
gmodule/gmodule.c

index 34c162f..6958f30 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-08  Matthias Clasen <mclasen@redhat.com>
+
+       * gmodule.c: Include glibconfig.h before checking G_OS_WIN32.
+
 2007-11-07  Matthias Clasen <mclasen@redhat.com>
 
        * *.c: Make header include order consistent (#71704,
index 063bd31..06167da 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "config.h"
+#include "glibconfig.h"
 
 #include <errno.h>
 #include <string.h>
@@ -38,7 +39,7 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
-#if defined (G_OS_WIN32)
+#ifdef G_OS_WIN32
 #include <io.h>                /* For open() and close() prototypes. */
 #endif