Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix libgc compilation with clang.

  • Loading branch information...
commit b0e31fe05a551eac6edbc05e715fa68e71d514a9 1 parent 06d9bb9
@vargaz vargaz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  libgc/pthread_support.c
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.