summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread.h b/thread.h
index 66176a8dfc..2c6e192a7f 100644
--- a/thread.h
+++ b/thread.h
@@ -4,6 +4,7 @@
# include <win32thread.h>
#else
+#ifndef DJGPP
/* POSIXish threads */
#ifdef OLD_PTHREADS_API
# define pthread_mutexattr_init(a) pthread_mutexattr_create(a)
@@ -22,6 +23,7 @@
# define pthread_condattr_default NULL
#endif /* OLD_PTHREADS_API */
#endif
+#endif
#ifdef PTHREADS_CREATED_JOINABLE
# define ATTR_JOINABLE PTHREAD_CREATE_JOINABLE