[cfe-commits] [libcxx] r111746 - in /libcxx/trunk: include/thread test/thread/macro.pass.cpp

Howard Hinnant hhinnant at apple.com
Sat Aug 21 14:02:00 PDT 2010


Author: hhinnant
Date: Sat Aug 21 16:01:59 2010
New Revision: 111746

URL: http://llvm.org/viewvc/llvm-project?rev=111746&view=rev
Log:
DE 23

Modified:
    libcxx/trunk/include/thread
    libcxx/trunk/test/thread/macro.pass.cpp

Modified: libcxx/trunk/include/thread
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/thread?rev=111746&r1=111745&r2=111746&view=diff
==============================================================================
--- libcxx/trunk/include/thread (original)
+++ libcxx/trunk/include/thread Sat Aug 21 16:01:59 2010
@@ -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
 

Modified: libcxx/trunk/test/thread/macro.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/macro.pass.cpp?rev=111746&r1=111745&r2=111746&view=diff
==============================================================================
--- libcxx/trunk/test/thread/macro.pass.cpp (original)
+++ libcxx/trunk/test/thread/macro.pass.cpp Sat Aug 21 16:01:59 2010
@@ -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
 }





More information about the cfe-commits mailing list