diff options
author | Magnus Hagander <magnus@hagander.net> | 2008-04-22 13:06:57 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2008-04-22 13:06:57 +0000 |
commit | fc507eb0b655e40b7d8a891c920a8a1ef8a2a8b1 (patch) | |
tree | fe1f4a094d17a0cf719dd4c5a65928bd10fa6b1c /src | |
parent | a256ea5088d83b03122189d049545d293eea028e (diff) | |
download | postgresql-fc507eb0b655e40b7d8a891c920a8a1ef8a2a8b1.tar.gz postgresql-fc507eb0b655e40b7d8a891c920a8a1ef8a2a8b1.zip |
Don't pull in pthreads header files in this file because we never use them.
Diffstat (limited to 'src')
-rw-r--r-- | src/port/thread.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/port/thread.c b/src/port/thread.c index 2f50e09d528..71092ed7f5e 100644 --- a/src/port/thread.c +++ b/src/port/thread.c @@ -7,7 +7,7 @@ * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/port/thread.c,v 1.38 2008/01/01 19:46:00 momjian Exp $ + * $PostgreSQL: pgsql/src/port/thread.c,v 1.39 2008/04/22 13:06:57 mha Exp $ * *------------------------------------------------------------------------- */ @@ -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(). |