tls.h 354 B

12345678910111213141516171819
  1. /* This file defines USE___THREAD to 1 or 0 to cut down on the #if mess. */
  2. #ifndef _include_tls_h
  3. #define _include_tls_h 1
  4. #include_next <tls.h>
  5. #if defined USE_TLS && USE_TLS && HAVE___THREAD \
  6. && (!defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt)
  7. # define USE___THREAD 1
  8. #else
  9. # define USE___THREAD 0
  10. #endif
  11. #endif