diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-05-10 17:11:08 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-05-10 17:11:08 +0000 |
commit | 6d74dd09d29f77ac2b22410f45687def349ba3da (patch) | |
tree | 959800c2dd4a14fd90cac2002281bdf603783e86 | |
parent | 28e725016266de6cc18f7aef5c675c57b7a42a89 (diff) | |
download | glibc-6d74dd09d29f77ac2b22410f45687def349ba3da.zip glibc-6d74dd09d29f77ac2b22410f45687def349ba3da.tar.gz glibc-6d74dd09d29f77ac2b22410f45687def349ba3da.tar.bz2 |
Define __STDC_NO_THREADS__.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/stdc-predef.h | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -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 ef10c16..146bc5c 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 |