summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1999-10-04 02:32:50 +0000
committerManish Singh <yosh@src.gnome.org>1999-10-04 02:32:50 +0000
commit7ea73a019935e1118935433c86480acc5eee2e05 (patch)
treeb7afcc4761a189dcea1ce0f405f2a585e624f30c /tests
parent4944d4df46e31275173c5d559792d21b5839a5cd (diff)
downloadglib-7ea73a019935e1118935433c86480acc5eee2e05.tar.gz
G_OS_FOO #defines. I *think* I got the cygwin and beos stuff right, but
I haven't tested it. The respective porters should fix any screwups -Yosh
Diffstat (limited to 'tests')
-rw-r--r--tests/testglib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testglib.c b/tests/testglib.c
index 54d621406..2a5ba7381 100644
--- a/tests/testglib.c
+++ b/tests/testglib.c
@@ -306,7 +306,7 @@ main (int argc,
gchar *filename;
gchar *dirname;
} dirname_checks[] = {
-#ifndef NATIVE_WIN32
+#ifndef G_OS_WIN32
{ "/", "/" },
{ "////", "/" },
{ ".////", "." },
@@ -699,7 +699,7 @@ main (int argc,
for (i = 0; i < 10000; i++)
g_string_append_c (string1, 'a'+(i%26));
-#ifndef NATIVE_WIN32
+#ifndef G_OS_WIN32
/* MSVC, mingw32 and LCC 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",