summaryrefslogtreecommitdiff
path: root/config.h.win32.in
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2001-05-22 12:28:06 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2001-05-22 12:28:06 +0000
commitd6ed8e36e78373329315d743743c7480724e87ef (patch)
tree05de724e8158c5bef3d0e1c2c7a4ece86d01a0c0 /config.h.win32.in
parent673e99b7f30ce516f213e97fa78522493242335a (diff)
downloadglib-d6ed8e36e78373329315d743743c7480724e87ef.tar.gz
Removed POSIX_*. Defined G_THREAD_SOURCE to "gthread-win32.c".
2001-05-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * config.h.win32.in: Removed POSIX_*. Defined G_THREAD_SOURCE to "gthread-win32.c". * glibconfig.h.win32.in: Define G_HAVE_ISO_VARARGS for gcc, don't know about MSC. Define G_THREADS_IMPL_WIN32 instead of G_THREADS_IMPL_POSIX and define the right static mutex macros and types. * build/win32/make.mingw (CXX): Removed PTHREAD defs. Added -O2 -Wall to compile flags. * gthread/gthread-impl.c (g_thread_init): Move the thread implementation initialization to before assigning GThreadFuncs, which now is just struct assigned and not memcpy'ed. Completed check for zero members of GThreadFuncs. * gthread/makefile.mingw: Don't link to pthread anymore. * gthread/gthread-win32.c: New file for native thread support for win32. Thanks to Hans Breuer <hans@breuer.org> to got me kickstarted. * gthread/Makefile.am: Also distribute gthread-win32.c.
Diffstat (limited to 'config.h.win32.in')
-rw-r--r--config.h.win32.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/config.h.win32.in b/config.h.win32.in
index 6e8f1a847..e98a9cdfe 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -66,11 +66,7 @@
#define GLIB_SIZEOF_PTRDIFF_T 4
#define GLIB_SIZEOF_INTMAX_T 4
-#define POSIX_MIN_PRIORITY -2
-#define POSIX_MAX_PRIORITY 2
-#define POSIX_YIELD_FUNC Sleep(0)
-
-#define G_THREAD_SOURCE "gthread-posix.c"
+#define G_THREAD_SOURCE "gthread-win32.c"
/* The number of bytes in a char. */
#define SIZEOF_CHAR 1