From 79b805f6d5ae9b9fa8ec904712672753fa3923ec Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 26 Mar 2004 18:24:08 +0000 Subject: [PATCH] Add -D_REENTRANT for Solaris threading. --- src/template/solaris | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/template/solaris b/src/template/solaris index 034bb91416..ce71bbe918 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -11,7 +11,7 @@ esac # tools/thread/thread_test must be run # -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things -THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" +THREAD_CPPFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" if test "$GCC" != yes then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt" fi -- 2.40.0