[uClibc-cvs] svn commit: branches/uClibc-nptl/include

sjhill at uclibc.org sjhill at uclibc.org
Fri Jun 3 02:18:44 UTC 2005


Author: sjhill
Date: 2005-06-02 20:18:43 -0600 (Thu, 02 Jun 2005)
New Revision: 10455

Log:
Added top-level 'tls.h' header file for NPTL.


Added:
   branches/uClibc-nptl/include/tls.h


Changeset:
Added: branches/uClibc-nptl/include/tls.h
===================================================================
--- branches/uClibc-nptl/include/tls.h	2005-06-03 02:11:07 UTC (rev 10454)
+++ branches/uClibc-nptl/include/tls.h	2005-06-03 02:18:43 UTC (rev 10455)
@@ -0,0 +1,19 @@
+/* This file defines USE___THREAD to 1 or 0 to cut down on the #if mess.  */
+
+#ifndef _include_tls_h
+#define _include_tls_h 1
+
+#include_next <tls.h>
+
+#if USE_TLS && HAVE___THREAD \
+    && (!defined NOT_IN_libc || defined IS_IN_libpthread)
+
+# define USE___THREAD 1
+
+#else
+
+# define USE___THREAD 0
+
+#endif
+
+#endif




More information about the uClibc-cvs mailing list