diff options
Diffstat (limited to 'gutf8.c')
-rw-r--r-- | gutf8.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -29,10 +29,11 @@ #include "glib.h" -#ifdef G_OS_WIN32 +#ifdef G_PLATFORM_WIN32 #include <stdio.h> #define STRICT #include <windows.h> +#undef STRICT #endif #include "glibintl.h" @@ -341,7 +342,7 @@ g_utf8_get_charset_internal (char **a) } #endif -#ifdef G_OS_WIN32 +#ifdef G_PLATFORM_WIN32 if (a && ! *a) { static char codepage[10]; |