From fc507eb0b655e40b7d8a891c920a8a1ef8a2a8b1 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 22 Apr 2008 13:06:57 +0000 Subject: [PATCH] Don't pull in pthreads header files in this file because we never use them. --- src/port/thread.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/port/thread.c b/src/port/thread.c index 2f50e09d52..71092ed7f5 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 #if defined(FRONTEND) && defined(ENABLE_THREAD_SAFETY) -#ifdef WIN32 -#include "pthread-win32.h" -#else -#include -#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(). -- 2.11.0