First Commit
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled

This commit is contained in:
2025-11-19 16:23:45 +07:00
commit dbdc5bcc4a
1791 changed files with 489451 additions and 0 deletions
@@ -0,0 +1,28 @@
// Test for std::this_thread::sleep_for().
/* For some reason MinGW's <thread> header seems to be broken.
*
* But it gets worse. It looks as if we can include <thread> without problems
* in this configuration test. Why does it break when MinGW users try to build
* the library, but succeed when we try it here?
*
* To try and get close to the situation in the library code itself, we try
* including some standard headers that we don't strictly need here.
*/
#if __has_include(<ciso646>)
# include <ciso646>
#endif
#include <cerrno>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <new>
#include <chrono>
#include <thread>
int main()
{
std::this_thread::sleep_for(std::chrono::microseconds{10u});
}