diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cf280506bd..3741c06e08 100644 --- a/configure.ac +++ b/configure.ac @@ -3056,6 +3056,9 @@ then AC_DEFINE(_REENTRANT) posix_threads=yes THREADOBJ="Python/thread.o" + if test "$ac_sys_system" = "SunOS"; then + CFLAGS="$CFLAGS -D_REENTRANT" + fi elif test "$ac_cv_kpthread" = "yes" then CC="$CC -Kpthread" |