mirror of https://github.com/odrling/Aegisub
[build] Make aegisub compile with clang
This commit is contained in:
parent
95914161ee
commit
88d9e9cef6
|
@ -26,7 +26,7 @@ namespace agi { namespace util {
|
|||
void SetThreadName(const char *) { }
|
||||
|
||||
void sleep_for(int ms) {
|
||||
#ifdef __clang__
|
||||
#ifdef _LIBCPP_VERSION
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(ms));
|
||||
#else
|
||||
boost::this_thread::sleep_for(boost::chrono::milliseconds(ms));
|
||||
|
|
Loading…
Reference in New Issue