summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2008-04-22 13:06:57 +0000
committerMagnus Hagander2008-04-22 13:06:57 +0000
commit770ead346daacca0b2b5cde30af86cdeca4fbd97 (patch)
treeabf1114488adf418a71e9626d6258c3ca86be187
parent6fa1ffbaaf8dde3d97416f09e8a30b2fe218386e (diff)
Don't pull in pthreads header files in this file because we never use them.
-rw-r--r--src/port/thread.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/port/thread.c b/src/port/thread.c
index d33f8cccec..520161fca7 100644
--- a/src/port/thread.c
+++ b/src/port/thread.c
@@ -16,11 +16,6 @@
#include <pwd.h>
#if defined(FRONTEND) && defined(ENABLE_THREAD_SAFETY)
-#ifdef WIN32
-#include "pthread-win32.h"
-#else
-#include <pthread.h>
-#endif
#endif
@@ -50,7 +45,7 @@
* The current setup is to try threading in this order:
*
* use *_r function names if they exit
- * (*_THREADSAFE=ye)
+ * (*_THREADSAFE=yes)
* use non-*_r functions if they are thread-safe
*
* One thread-safe solution for gethostbyname() might be to use getaddrinfo().