summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/include/thread4
-rw-r--r--libcxx/test/thread/macro.pass.cpp6
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
}
OpenPOWER on IntegriCloud