]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/thread.h
Create a new macro for checking compiler support for TLS.
[pulseaudio] / src / pulsecore / thread.h
index 54ef320e13631bec9fadba05f4d99caf746c4c26..87e850d67eae41221c92c595c6655fd70d1695ad 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef foopulsethreadhfoo
 #define foopulsethreadhfoo
 
-/* $Id$ */
-
 /***
   This file is part of PulseAudio.
 
@@ -88,7 +86,7 @@ void *pa_tls_set(pa_tls *t, void *userdata);
     }                                                                   \
     struct __stupid_useless_struct_to_allow_trailing_semicolon
 
-#ifdef HAVE_TLS_BUILTIN
+#ifdef SUPPORT_TLS___THREAD
 /* An optimized version of the above that requires no dynamic
  * allocation if the compiler supports __thread */
 #define PA_STATIC_TLS_DECLARE_NO_FREE(name)                             \