diff options
author | Jason Merrill <jason@redhat.com> | 2012-11-10 12:27:22 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-11-10 12:27:22 -0500 |
commit | 734f50238f863ae90d2e8caa2323aaa02380ff48 (patch) | |
tree | d9b336f73d8705f567b8e2871708f2dca7cadb44 /libstdc++-v3/src | |
parent | 3467ad5ce6f6e456699a44d563a7ab0bf576903b (diff) | |
download | gcc-734f50238f863ae90d2e8caa2323aaa02380ff48.zip gcc-734f50238f863ae90d2e8caa2323aaa02380ff48.tar.gz gcc-734f50238f863ae90d2e8caa2323aaa02380ff48.tar.bz2 |
* many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.
From-SVN: r193392
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r-- | libstdc++-v3/src/c++11/compatibility-c++0x.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/hash_c++0x.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/hashtable_c++0x.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/c++11/placeholders.cc | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/src/c++11/compatibility-c++0x.cc b/libstdc++-v3/src/c++11/compatibility-c++0x.cc index 306bad5..157bf02 100644 --- a/libstdc++-v3/src/c++11/compatibility-c++0x.cc +++ b/libstdc++-v3/src/c++11/compatibility-c++0x.cc @@ -26,7 +26,7 @@ #include <string> #include <system_error> -#ifndef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus < 201103L # error "compatibility-c++0x.cc must be compiled with -std=gnu++0x" #endif diff --git a/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc b/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc index 5e87b53..d1d2534 100644 --- a/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc +++ b/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc @@ -30,7 +30,7 @@ #include <future> #include <mutex> -#ifndef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus < 201103L # error "compatibility-thread-c++0x.cc must be compiled with -std=gnu++0x" #endif diff --git a/libstdc++-v3/src/c++11/hash_c++0x.cc b/libstdc++-v3/src/c++11/hash_c++0x.cc index d685074..b8569df 100644 --- a/libstdc++-v3/src/c++11/hash_c++0x.cc +++ b/libstdc++-v3/src/c++11/hash_c++0x.cc @@ -22,7 +22,7 @@ // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // <http://www.gnu.org/licenses/>. -#ifndef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus < 201103L # error "hash_c++0x.cc must be compiled with -std=gnu++0x" #endif diff --git a/libstdc++-v3/src/c++11/hashtable_c++0x.cc b/libstdc++-v3/src/c++11/hashtable_c++0x.cc index 2bf5508..3391131 100644 --- a/libstdc++-v3/src/c++11/hashtable_c++0x.cc +++ b/libstdc++-v3/src/c++11/hashtable_c++0x.cc @@ -24,7 +24,7 @@ #include <bits/c++config.h> -#ifndef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus < 201103L # error "hashtable_c++0x.cc must be compiled with -std=gnu++0x" #endif diff --git a/libstdc++-v3/src/c++11/placeholders.cc b/libstdc++-v3/src/c++11/placeholders.cc index 967ce17..8227c34 100644 --- a/libstdc++-v3/src/c++11/placeholders.cc +++ b/libstdc++-v3/src/c++11/placeholders.cc @@ -22,7 +22,7 @@ // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // <http://www.gnu.org/licenses/>. -#ifndef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus < 201103L # error "placeholders.cc must be compiled with -std=gnu++0x" #endif |