Merge remote-tracking branch 'gvdb/master'
[platform/upstream/glib.git] / tests / unicode-encoding.c
index 21d350f..09b3392 100644 (file)
@@ -195,7 +195,7 @@ process (gint      line,
       gint n_chars;
       gchar *utf8_result;
 
-#ifdef G_OS_WIN32
+#if G_BYTE_ORDER == G_LITTLE_ENDIAN
 #define TARGET "UTF-16LE"
 #else
 #define TARGET "UTF-16"