From: Bruce Momjian Date: Sun, 14 Mar 2004 23:51:57 +0000 (+0000) Subject: Update Solaris thread flags, per Jim Seymour X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=10f82695e65b7a590cde0910b8986f30be21d20c;p=users%2Fbernd%2Fpostgres.git Update Solaris thread flags, per Jim Seymour --- diff --git a/src/template/solaris b/src/template/solaris index 489bece948..fd32402144 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -12,8 +12,8 @@ esac THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13 if test "$GCC" = yes -then THREAD_LIBS="-pthread" -else THREAD_CPPFLAGS="-mt" +then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" + THREAD_LIBS="-pthread" +else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS" THREAD_LIBS="-lpthread" fi -