From 734f50238f863ae90d2e8caa2323aaa02380ff48 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 10 Nov 2012 12:27:22 -0500 Subject: * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. From-SVN: r193392 --- libstdc++-v3/src/c++11/compatibility-c++0x.cc | 2 +- libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc | 2 +- libstdc++-v3/src/c++11/hash_c++0x.cc | 2 +- libstdc++-v3/src/c++11/hashtable_c++0x.cc | 2 +- libstdc++-v3/src/c++11/placeholders.cc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'libstdc++-v3/src') 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 #include -#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 #include -#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 // . -#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 -#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 // . -#ifndef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus < 201103L # error "placeholders.cc must be compiled with -std=gnu++0x" #endif -- cgit v1.1