]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | /* Copyright 2020 Rene Rivera |
2 | * Distributed under the Boost Software License, Version 1.0. | |
3 | * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) | |
4 | */ | |
5 | ||
6 | /* | |
7 | This program is a compile test for support of C++11. If it compiles | |
8 | successfully some key parts of C++11 the B2 engine requires are | |
9 | available. This is used by the build script to guess and check the | |
10 | compiler to build the engine with. | |
11 | */ | |
12 | ||
13 | // Some headers we depend on.. | |
14 | #include <thread> | |
15 | ||
16 | ||
17 | int main() | |
18 | { | |
19 | // Check for basic thread calls. | |
20 | { auto _ = std::thread::hardware_concurrency(); } | |
21 | } |