mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -59,7 +59,7 @@ main (int argc,
|
||||
gchar *filename;
|
||||
gchar *dirname;
|
||||
} dirname_checks[] = {
|
||||
#ifndef NATIVE_WIN32
|
||||
#ifndef G_OS_WIN32
|
||||
{ "/", "/" },
|
||||
{ "////", "/" },
|
||||
{ ".////", "." },
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user