Use G_OS_WIN32.
authorTor Lillqvist <tml@src.gnome.org>
Tue, 5 Oct 1999 16:21:07 +0000 (16:21 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 5 Oct 1999 16:21:07 +0000 (16:21 +0000)
* tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.

* glib.def: Add g_thread_use_default_impl.

12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib.def
glib/glib.def
tests/dirname-test.c
tests/string-test.c

index 2570d2c..d0f1b78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 2570d2c..d0f1b78 100644 (file)
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 2570d2c..d0f1b78 100644 (file)
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 2570d2c..d0f1b78 100644 (file)
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 2570d2c..d0f1b78 100644 (file)
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 2570d2c..d0f1b78 100644 (file)
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 2570d2c..d0f1b78 100644 (file)
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 2570d2c..d0f1b78 100644 (file)
 
        * build-dll: Don't strip.
 
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
 Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
 
        * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
index 654e071..98b371f 100644 (file)
--- a/glib.def
+++ b/glib.def
@@ -410,6 +410,7 @@ EXPORTS
        g_thread_join
        g_thread_self
        g_thread_set_priority
+       g_thread_use_default_impl
        g_threads_got_initialized
        g_timeout_add
        g_timeout_add_full
index 654e071..98b371f 100644 (file)
@@ -410,6 +410,7 @@ EXPORTS
        g_thread_join
        g_thread_self
        g_thread_set_priority
+       g_thread_use_default_impl
        g_threads_got_initialized
        g_timeout_add
        g_timeout_add_full
index 8bb05b3..a4499d5 100644 (file)
@@ -59,7 +59,7 @@ main (int   argc,
     gchar *filename;
     gchar *dirname;
   } dirname_checks[] = {
-#ifndef NATIVE_WIN32
+#ifndef G_OS_WIN32
     { "/", "/" },
     { "////", "/" },
     { ".////", "." },
index b2c7c1d..4502f97 100644 (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",