projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa1ffb
)
Don't pull in pthreads header files in this file because we never use them.
author
Magnus Hagander
<magnus@hagander.net>
Tue, 22 Apr 2008 13:06:57 +0000
(13:06 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 22 Apr 2008 13:06:57 +0000
(13:06 +0000)
src/port/thread.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/thread.c
b/src/port/thread.c
index d33f8ccceccde468f0b5d743636abf70586c982a..520161fca7fb7aba969e397bb5413f66702d4f73 100644
(file)
--- 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=ye
s
)
* use non-*_r functions if they are thread-safe
*
* One thread-safe solution for gethostbyname() might be to use getaddrinfo().