summaryrefslogtreecommitdiff
path: root/gthread.c
diff options
context:
space:
mode:
authorHans Breuer <hans@src.gnome.org>2001-02-19 21:51:19 +0000
committerHans Breuer <hans@src.gnome.org>2001-02-19 21:51:19 +0000
commitd1a05f990e35d83e20f62b303fe14d836f779921 (patch)
treecb8704ec59156ff4d83a9aa1ee5f208b39a7b375 /gthread.c
parentf1b60091b9f757d9ca761beac428350a71b6f3aa (diff)
downloadglib-d1a05f990e35d83e20f62b303fe14d836f779921.tar.gz
updated for win32 msvc build
Diffstat (limited to 'gthread.c')
-rw-r--r--gthread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gthread.c b/gthread.c
index dfa484630..20aa3ebdc 100644
--- a/gthread.c
+++ b/gthread.c
@@ -522,8 +522,10 @@ g_thread_create_proxy (gpointer data)
G_LOCK (g_thread);
G_UNLOCK (g_thread);
+#ifdef G_THREAD_USE_PID_SURROGATE
if (g_thread_use_default_impl)
SET_PRIO (thread->pid, thread->thread.priority);
+#endif /* G_THREAD_USE_PID_SURROGATE */
thread->func (thread->arg);
}