summaryrefslogtreecommitdiff
path: root/include/stdc-predef.h
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 /include/stdc-predef.h
parent28e725016266de6cc18f7aef5c675c57b7a42a89 (diff)
Define __STDC_NO_THREADS__.
Diffstat (limited to 'include/stdc-predef.h')
-rw-r--r--include/stdc-predef.h3
1 files changed, 3 insertions, 0 deletions
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