projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xgetcwd: Move AC_LIBOBJ invocations to module description.
[gnulib.git]
/
lib
/
glthread
/
thread.c
diff --git
a/lib/glthread/thread.c
b/lib/glthread/thread.c
index
6b134a7
..
d6af6f3
100644
(file)
--- a/
lib/glthread/thread.c
+++ b/
lib/glthread/thread.c
@@
-29,6
+29,20
@@
/* ========================================================================= */
/* ========================================================================= */
+#if USE_POSIX_THREADS
+
+#include <pthread.h>
+
+#ifdef PTW32_VERSION
+
+const gl_thread_t gl_null_thread /* = { .p = NULL } */;
+
+#endif
+
+#endif
+
+/* ========================================================================= */
+
#if USE_WIN32_THREADS
#include <process.h>
#if USE_WIN32_THREADS
#include <process.h>