DE 23
llvm-svn: 111746
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: e8e7af2477b035a89964a4f525f29ddfc5e682a1
diff --git a/include/thread b/include/thread
index 6bf3189..dad1ed1 100644
--- a/include/thread
+++ b/include/thread
@@ -15,7 +15,7 @@
thread synopsis
-#define __STDCPP_THREADS __cplusplus
+#define __STDCPP_THREADS__ __cplusplus
namespace std
{
@@ -99,7 +99,7 @@
#pragma GCC system_header
-#define __STDCPP_THREADS __cplusplus
+#define __STDCPP_THREADS__ __cplusplus
_LIBCPP_BEGIN_NAMESPACE_STD
diff --git a/test/thread/macro.pass.cpp b/test/thread/macro.pass.cpp
index 160877b..cc0f237 100644
--- a/test/thread/macro.pass.cpp
+++ b/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
}