summaryrefslogtreecommitdiff
path: root/tests/string-test.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-10-05 16:21:07 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-10-05 16:21:07 +0000
commit1dc5f94cfa2078889801d9ecf35c8778153df3d7 (patch)
treec308fa01947bfd42df5f8604d8670c4ec3f597ee /tests/string-test.c
parent374c870b96f8d7aff25e0c7ec43efba5a42f06ee (diff)
Use G_OS_WIN32.
* tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32. * glib.def: Add g_thread_use_default_impl.
Diffstat (limited to 'tests/string-test.c')
-rw-r--r--tests/string-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/string-test.c b/tests/string-test.c
index b2c7c1d1e..4502f9734 100644
--- a/tests/string-test.c
+++ b/tests/string-test.c
@@ -103,7 +103,7 @@ main (int argc,
g_assert((strlen("hi pete!") + 10000) == string1->len);
g_assert((strlen("hi pete!") + 10000) == strlen(string1->str));
-#ifndef NATIVE_WIN32
+#ifndef G_OS_WIN32
/* MSVC and mingw32 use the same run-time C library, which doesn't like
the %10000.10000f format... */
g_string_sprintf (string2, "%s|%0100d|%s|%s|%0*d|%*.*f|%10000.10000f",