Define __STDC_NO_THREADS__.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 10 May 2012 17:11:08 +0000 (17:11 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 10 May 2012 17:11:08 +0000 (17:11 +0000)
ChangeLog
include/stdc-predef.h

index 4acae97..559754e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
+
 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Paul Pluzhnikov  <ppluzhnikov@google.com>
index ef10c16..146bc5c 100644 (file)
@@ -33,4 +33,7 @@
 /* wchar_t uses ISO 10646-1 (2nd ed., published 2000-09-15) / Unicode 3.1.  */
 #define __STDC_ISO_10646__             200009L
 
+/* We do not support C11 <threads.h>.  */
+#define __STDC_NO_THREADS__            1
+
 #endif