mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Revert "Improvde #include order consistency"
This reverts commit f2e00a07f4
.
Moving the block up would prevent G_OS_WIN32 being checked correctly as
it is a macro that is defined by including the GLib header(s), at least for
Visual C++ builds.
https://bugzilla.gnome.org/show_bug.cgi?id=691769
This commit is contained in:
parent
4ba56f3653
commit
38229d47d1
@ -29,10 +29,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
@ -40,6 +36,10 @@
|
||||
#include <glib.h>
|
||||
#include <glib/gprintf.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
/* --- defines --- */
|
||||
#define PRG_NAME "glib-genmarshal"
|
||||
#define PKG_NAME "GLib"
|
||||
|
Loading…
Reference in New Issue
Block a user