Include glibconfig.h before checking G_OS_WIN32.

2007-11-08  Matthias Clasen <mclasen@redhat.com>

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



svn path=/trunk/; revision=5832
This commit is contained in:
Matthias Clasen 2007-11-09 02:33:16 +00:00 committed by Matthias Clasen
parent 6181cd47e2
commit 5d8a5657c5
2 changed files with 6 additions and 1 deletions

View 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> 2007-11-07 Matthias Clasen <mclasen@redhat.com>
* *.c: Make header include order consistent (#71704, * *.c: Make header include order consistent (#71704,

View File

@ -29,6 +29,7 @@
*/ */
#include "config.h" #include "config.h"
#include "glibconfig.h"
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
@ -38,7 +39,7 @@
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
#if defined (G_OS_WIN32) #ifdef G_OS_WIN32
#include <io.h> /* For open() and close() prototypes. */ #include <io.h> /* For open() and close() prototypes. */
#endif #endif