Remove _THREAD_SAFE from Makefiles?
    Craig Rodrigues 
    rodrigc at crodrigues.org
       
    Sat Jul 12 10:04:46 PDT 2003
    
    
  
Hi,
According to this PR, _THREAD_SAFE has been remove from /usr/include/*.h
http://www.freebsd.org/cgi/query-pr.cgi?pr=36167
So, can it be removed from the following places?
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/lib/libc_r/Makefile,v
retrieving revision 1.35
diff -u -u -r1.35 Makefile
--- Makefile	2 Jul 2003 13:27:54 -0000	1.35
+++ Makefile	12 Jul 2003 16:54:53 -0000
@@ -9,7 +9,7 @@
 # system call stubs.
 LIB=c_r
 SHLIB_MAJOR= 5
-CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
+CFLAGS+=-DPTHREAD_KERNEL
 CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/uthread \
 	-I${.CURDIR}/../../include
 
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/lib/libthr/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	1 Jul 2003 15:07:01 -0000	1.5
+++ Makefile	12 Jul 2003 16:55:03 -0000
@@ -10,7 +10,7 @@
 LIB=thr
 SHLIB_MAJOR= 1
 DEBUG_FLAGS=-g
-CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
+CFLAGS+=-DPTHREAD_KERNEL
 CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
 	-I${.CURDIR}/../../include
 
-- 
Craig Rodrigues        
http://crodrigues.org
rodrigc at crodrigues.org
    
    
More information about the freebsd-threads
mailing list