]> 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 f3aca13e7b93c3efdc9308ecd30ec56baf7ad58c..87e850d67eae41221c92c595c6655fd70d1695ad 100644 (file)
@@ -86,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)                             \