summaryrefslogtreecommitdiff
path: root/tests
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
parent374c870b96f8d7aff25e0c7ec43efba5a42f06ee (diff)
downloadglib-1dc5f94cfa2078889801d9ecf35c8778153df3d7.tar.gz
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')
-rw-r--r--tests/dirname-test.c2
-rw-r--r--tests/string-test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/dirname-test.c b/tests/dirname-test.c
index 8bb05b349..a4499d5f9 100644
--- a/tests/dirname-test.c
+++ b/tests/dirname-test.c
@@ -59,7 +59,7 @@ main (int argc,
gchar *filename;
gchar *dirname;
} dirname_checks[] = {
-#ifndef NATIVE_WIN32
+#ifndef G_OS_WIN32
{ "/", "/" },
{ "////", "/" },
{ ".////", "." },
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",