Fix win32 build

This commit is contained in:
Fridrich Štrba
2011-01-11 16:13:34 +01:00
parent 7e33c009a0
commit a606ea62a1
9 changed files with 21 additions and 6 deletions

View File

@ -1169,7 +1169,14 @@ gtk_init (int *argc, char ***argv)
}
}
#ifdef G_PLATFORM_WIN32
#ifdef G_OS_WIN32
/* This is relevant when building with gcc for Windows (MinGW),
* where we want to be struct packing compatible with MSVC,
* i.e. use the -mms-bitfields switch.
* For Cygwin there should be no need to be compatible with MSVC,
* so no need to use G_PLATFORM_WIN32.
*/
static void
check_sizeof_GtkWindow (size_t sizeof_GtkWindow)