diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-08-23 21:02:05 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-08-23 21:02:05 +0000 |
commit | 43bf3a6bc658d634e073dcb4ea3580dd9053a3b1 (patch) | |
tree | 40d357f8408e146b23f3e005798677a2340ba331 /src/interfaces/libpq/fe-connect.c | |
parent | f2cec8760581aa9d036c659ecf9ad74907709cc1 (diff) |
The attached patch updates the thread test program to run stand-alone on
Windows. The test itself is bypassed in configure as discussed, and
libpq has been updated appropriately to allow it to build in thread-safe
mode.
Dave Page
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index ff4f4285d08..bdeeb02a225 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.319 2005/08/23 20:48:46 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.320 2005/08/23 21:02:03 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -55,8 +55,12 @@ #endif #ifdef ENABLE_THREAD_SAFETY +#ifdef WIN32 +#include "pthread-win32.h" +#else #include <pthread.h> #endif +#endif #include "libpq/ip.h" #include "mb/pg_wchar.h" |