summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2004-04-13 00:02:31 +0000
committerwchang0222%aol.com <devnull@localhost>2004-04-13 00:02:31 +0000
commit5a00fea94ac9469fdc5afea06bd8eb3d67c25ef7 (patch)
tree010c9501224b609347abe9b192439e15d833f9c7
parent29db57ee264c9ed5fa184961d30721928495407f (diff)
downloadnspr-hg-5a00fea94ac9469fdc5afea06bd8eb3d67c25ef7.tar.gz
It is not necessary to define _THREAD_SAFE when using pthreads on OpenBSD.
(See Bugzilla bug 236599 comment 41). Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rwxr-xr-xconfigure4
-rw-r--r--configure.in1
2 files changed, 0 insertions, 5 deletions
diff --git a/configure b/configure
index ede750ec..e73f8d0e 100755
--- a/configure
+++ b/configure
@@ -5362,10 +5362,6 @@ EOF
fi
;;
*-openbsd*)
- cat >> confdefs.h <<\EOF
-#define _THREAD_SAFE 1
-EOF
-
if test "$ac_cv_have_dash_pthread" = "yes"; then
_PTHREAD_LDFLAGS=-pthread
fi
diff --git a/configure.in b/configure.in
index ac95bc01..8084f1d0 100644
--- a/configure.in
+++ b/configure.in
@@ -2202,7 +2202,6 @@ if test -n "$USE_PTHREADS"; then
fi
;;
*-openbsd*)
- AC_DEFINE(_THREAD_SAFE)
if test "$ac_cv_have_dash_pthread" = "yes"; then
_PTHREAD_LDFLAGS=-pthread
fi