summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-03-23 15:18:27 +0000
committerwtc%netscape.com <devnull@localhost>1999-03-23 15:18:27 +0000
commit1b86694baf0c1d5b18e81c340c5f8d97b8b703de (patch)
tree12c68be1408d82ef8fbbc2d21affa26ad72ba6e2
parent287b26d7f1bbc098225292d26f95301f6d8405dd (diff)
downloadnspr-hg-1b86694baf0c1d5b18e81c340c5f8d97b8b703de.tar.gz
Restored the -D_THREAD_SAFE macro define that I incorrectly deleted
in the previous revision. The -pthread flag does not define _THREAD_SAFE. Thanks to Jeremy Lea <reg@shale.csir.co.za> for pointing this out.
-rw-r--r--config/FreeBSD.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/FreeBSD.mk b/config/FreeBSD.mk
index 2e2d27ba..9703d70f 100644
--- a/config/FreeBSD.mk
+++ b/config/FreeBSD.mk
@@ -37,6 +37,7 @@ OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DF
ifeq ($(USE_PTHREADS),1)
IMPL_STRATEGY = _PTH
+DEFINES += -D_THREAD_SAFE
THREAD_FLAG += -pthread
else
IMPL_STRATEGY = _EMU