summaryrefslogtreecommitdiff
path: root/gutf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'gutf8.c')
-rw-r--r--gutf8.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gutf8.c b/gutf8.c
index 4ff956bbe..60efce27c 100644
--- a/gutf8.c
+++ b/gutf8.c
@@ -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];