Use G_OS_WIN32.

* tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.

* glib.def: Add g_thread_use_default_impl.
This commit is contained in:
Tor Lillqvist
1999-10-05 16:21:07 +00:00
parent 374c870b96
commit 1dc5f94cfa
12 changed files with 36 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ main (int argc,
gchar *filename;
gchar *dirname;
} dirname_checks[] = {
#ifndef NATIVE_WIN32
#ifndef G_OS_WIN32
{ "/", "/" },
{ "////", "/" },
{ ".////", "." },

View File

@@ -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",