diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2010-08-21 21:01:59 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2010-08-21 21:01:59 +0000 |
| commit | e8e7af2477b035a89964a4f525f29ddfc5e682a1 (patch) | |
| tree | 1a98b471cac71882bbbfc59ff7909f85954b751a /libcxx | |
| parent | 3db88036f60ee6085ea1decfd34a07ed9b5e68a1 (diff) | |
| download | bcm5719-llvm-e8e7af2477b035a89964a4f525f29ddfc5e682a1.tar.gz bcm5719-llvm-e8e7af2477b035a89964a4f525f29ddfc5e682a1.zip | |
DE 23
llvm-svn: 111746
Diffstat (limited to 'libcxx')
| -rw-r--r-- | libcxx/include/thread | 4 | ||||
| -rw-r--r-- | libcxx/test/thread/macro.pass.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/include/thread b/libcxx/include/thread index 6bf3189294f..dad1ed156e1 100644 --- a/libcxx/include/thread +++ b/libcxx/include/thread @@ -15,7 +15,7 @@ thread synopsis -#define __STDCPP_THREADS __cplusplus +#define __STDCPP_THREADS__ __cplusplus namespace std { @@ -99,7 +99,7 @@ void sleep_for(const chrono::duration<Rep, Period>& rel_time); #pragma GCC system_header -#define __STDCPP_THREADS __cplusplus +#define __STDCPP_THREADS__ __cplusplus _LIBCPP_BEGIN_NAMESPACE_STD diff --git a/libcxx/test/thread/macro.pass.cpp b/libcxx/test/thread/macro.pass.cpp index 160877b5251..cc0f237b3b1 100644 --- a/libcxx/test/thread/macro.pass.cpp +++ b/libcxx/test/thread/macro.pass.cpp @@ -9,13 +9,13 @@ // <thread> -// #define __STDCPP_THREADS __cplusplus +// #define __STDCPP_THREADS__ __cplusplus #include <thread> int main() { -#ifndef __STDCPP_THREADS -#error __STDCPP_THREADS is not defined +#ifndef __STDCPP_THREADS__ +#error __STDCPP_THREADS__ is not defined #endif } |

