diff options
author | Zoltan Varga <vargaz@gmail.com> | 2012-11-20 11:27:20 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2012-11-20 11:27:20 +0400 |
commit | b0e31fe05a551eac6edbc05e715fa68e71d514a9 (patch) | |
tree | 20579fe476aeba102a1a9e522631d750cab4c367 /libgc/pthread_support.c | |
parent | 06d9bb9a4f38d5ade25b605fb10f3c42ac72235e (diff) |
Fix libgc compilation with clang.
Diffstat (limited to 'libgc/pthread_support.c')
-rw-r--r-- | libgc/pthread_support.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgc/pthread_support.c b/libgc/pthread_support.c index bc31c9733a7..ccafb3b1169 100644 --- a/libgc/pthread_support.c +++ b/libgc/pthread_support.c @@ -66,6 +66,7 @@ --> Macro replaced by USE_COMPILER_TLS # endif +#ifndef USE_COMPILER_TLS # if (defined(GC_DGUX386_THREADS) || defined(GC_OSF1_THREADS) || \ defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)) || \ defined(GC_NETBSD_THREADS) && !defined(USE_PTHREAD_SPECIFIC) || \ @@ -73,6 +74,7 @@ defined(GC_OPENBSD_THREADS) # define USE_PTHREAD_SPECIFIC # endif +#endif # if defined(GC_DGUX386_THREADS) && !defined(_POSIX4A_DRAFT10_SOURCE) # define _POSIX4A_DRAFT10_SOURCE 1 |