[m-rev.] diff: Define GC_LINUX_THREADS instead of LINUX_THREADS.
Peter Wang
novalazy at gmail.com
Wed Feb 20 12:00:00 AEDT 2013
Pass -DGC_LINUX_THREADS for Boehm GC instead of -DLINUX_THREADS.
The latter is a deprecated synonym.
configure.ac:
As above.
*/RESERVED_MACRO_NAMES:
LINUX_THREADS no longer needs to be excluded from the
namespace check.
diff --git a/browser/RESERVED_MACRO_NAMES b/browser/RESERVED_MACRO_NAMES
index 0e1fba7..fd2d513 100644
--- a/browser/RESERVED_MACRO_NAMES
+++ b/browser/RESERVED_MACRO_NAMES
@@ -31,7 +31,6 @@ pid_t
__GC
_GC_H
HIDE_POINTER
-LINUX_THREADS
REVEAL_POINTER
#-----------------------------------------------------------------------------#
# These are defined by boehm_gc/include/gc_pthread_redirects.h
diff --git a/configure.ac b/configure.ac
index 39bbffe..de42c1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2963,7 +2963,7 @@ case "$host" in
# Note that for old versions of Linux / glibc,
# you may also need to make sure that you don't
# pass -ansi to gcc.
- CFLAGS_FOR_THREADS="-DLINUX_THREADS -D_THREAD_SAFE -D_REENTRANT"
+ CFLAGS_FOR_THREADS="-DGC_LINUX_THREADS -D_THREAD_SAFE -D_REENTRANT"
THREAD_LIBS="-lpthread -ldl"
ENABLE_BOEHM_THREAD_LOCAL_ALLOC="-DTHREAD_LOCAL_ALLOC"
ENABLE_BOEHM_PARALLEL_MARK="-DPARALLEL_MARK"
diff --git a/library/RESERVED_MACRO_NAMES b/library/RESERVED_MACRO_NAMES
index 97b466a..688ae00 100644
--- a/library/RESERVED_MACRO_NAMES
+++ b/library/RESERVED_MACRO_NAMES
@@ -31,7 +31,6 @@ pid_t
__GC
_GC_H
HIDE_POINTER
-LINUX_THREADS
REVEAL_POINTER
#-----------------------------------------------------------------------------#
# These are defined by boehm_gc/include/gc_pthread_redirects.h
diff --git a/mdbcomp/RESERVED_MACRO_NAMES b/mdbcomp/RESERVED_MACRO_NAMES
index 0e1fba7..fd2d513 100644
--- a/mdbcomp/RESERVED_MACRO_NAMES
+++ b/mdbcomp/RESERVED_MACRO_NAMES
@@ -31,7 +31,6 @@ pid_t
__GC
_GC_H
HIDE_POINTER
-LINUX_THREADS
REVEAL_POINTER
#-----------------------------------------------------------------------------#
# These are defined by boehm_gc/include/gc_pthread_redirects.h
diff --git a/runtime/RESERVED_MACRO_NAMES b/runtime/RESERVED_MACRO_NAMES
index 8c81c1b..1c12292 100644
--- a/runtime/RESERVED_MACRO_NAMES
+++ b/runtime/RESERVED_MACRO_NAMES
@@ -30,7 +30,6 @@ pid_t
# These are defined by boehm_gc/gc.h.
__GC
_GC_H
-LINUX_THREADS
HIDE_POINTER
REVEAL_POINTER
#-----------------------------------------------------------------------------#
diff --git a/ssdb/RESERVED_MACRO_NAMES b/ssdb/RESERVED_MACRO_NAMES
index a2b691a..67df2c7 100644
--- a/ssdb/RESERVED_MACRO_NAMES
+++ b/ssdb/RESERVED_MACRO_NAMES
@@ -31,7 +31,6 @@ pid_t
__GC
_GC_H
HIDE_POINTER
-LINUX_THREADS
REVEAL_POINTER
#-----------------------------------------------------------------------------#
# These are defined by boehm_gc/include/gc_pthread_redirects.h
diff --git a/trace/RESERVED_MACRO_NAMES b/trace/RESERVED_MACRO_NAMES
index e5065ab..0abf80c 100644
--- a/trace/RESERVED_MACRO_NAMES
+++ b/trace/RESERVED_MACRO_NAMES
@@ -31,7 +31,6 @@ pid_t
__GC
_GC_H
HIDE_POINTER
-LINUX_THREADS
REVEAL_POINTER
#-----------------------------------------------------------------------------#
# These are defined by boehm_gc/include/gc_pthread_redirects.h
More information about the reviews
mailing list