llvm-svn: 111746
This commit is contained in:
Howard Hinnant
2010-08-21 21:01:59 +00:00
parent 3db88036f6
commit e8e7af2477
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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
}