From: Bruce Momjian Date: Sun, 26 Sep 2004 01:40:55 +0000 (+0000) Subject: Use <> not "" for include of pthread.h. X-Git-Tag: REL8_0_0BETA3~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9ec10494e09e2b5a4659b454693ee5bcb15e5b2;p=postgresql Use <> not "" for include of pthread.h. --- diff --git a/src/interfaces/libpq/pthread-win32.c b/src/interfaces/libpq/pthread-win32.c index 24bdca2918..0f45eb068f 100644 --- a/src/interfaces/libpq/pthread-win32.c +++ b/src/interfaces/libpq/pthread-win32.c @@ -5,14 +5,14 @@ * * Copyright (c) 2004, PostgreSQL Global Development Group * IDENTIFICATION -* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.2 2004/08/29 05:07:00 momjian Exp $ +* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.3 2004/09/26 01:40:53 momjian Exp $ * *------------------------------------------------------------------------- */ -#include "windows.h" -#include "pthread.h" +#include +#include HANDLE pthread_self() diff --git a/src/tools/thread/thread_test.c b/src/tools/thread/thread_test.c index 08a027d6e9..5d4eae1bbb 100644 --- a/src/tools/thread/thread_test.c +++ b/src/tools/thread/thread_test.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.33 2004/08/29 05:07:03 momjian Exp $ + * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.34 2004/09/26 01:40:55 momjian Exp $ * * This program tests to see if your standard libc functions use * pthread_setspecific()/pthread_getspecific() to be thread-safe. @@ -59,7 +59,7 @@ main(int argc, char *argv[]) #else /* This must be down here because this is the code that uses threads. */ -#include "pthread.h" +#include void func_call_1(void); void func_call_2(void);