Commit 79b805f6 authored by Bruce Momjian's avatar Bruce Momjian

Add -D_REENTRANT for Solaris threading.

parent 1090aa8c
...@@ -11,7 +11,7 @@ esac ...@@ -11,7 +11,7 @@ esac
# tools/thread/thread_test must be run # tools/thread/thread_test must be run
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things # -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 if test "$GCC" != yes
then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt" then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment