1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Unconditionally define:

-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS

for all ports.  It can't hurt if they are not supported, but it makes
our job easier for porting.

Should fix Darwin compile and other platforms without mucking with the
thread detection code.
This commit is contained in:
Bruce Momjian
2004-04-26 04:04:42 +00:00
parent f5b6ce7cb9
commit 30a06fe2c4
8 changed files with 24 additions and 24 deletions

View File

@ -24,8 +24,5 @@ __EOF__
PTHREAD_CFLAGS="-Kpthread"
fi
# tools/thread/thread_test must be run
PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT"
# Disabled because flags are required for all apps using libpq.
# Waiting to see if other platforms need this too. 2004-03-22