about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-10 17:11:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-10 17:11:08 +0000
commit6d74dd09d29f77ac2b22410f45687def349ba3da (patch)
tree959800c2dd4a14fd90cac2002281bdf603783e86
parent28e725016266de6cc18f7aef5c675c57b7a42a89 (diff)
downloadglibc-6d74dd09d29f77ac2b22410f45687def349ba3da.tar.gz
glibc-6d74dd09d29f77ac2b22410f45687def349ba3da.tar.xz
glibc-6d74dd09d29f77ac2b22410f45687def349ba3da.zip
Define __STDC_NO_THREADS__.
-rw-r--r--ChangeLog4
-rw-r--r--include/stdc-predef.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4acae97821..559754ec6f 100644
--- 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>
diff --git a/include/stdc-predef.h b/include/stdc-predef.h
index ef10c1672e..146bc5c2b5 100644
--- a/include/stdc-predef.h
+++ b/include/stdc-predef.h
@@ -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