File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ set(Boost_USE_STATIC_LIBS ${USE_STATIC_BOOST})
563
563
set (Boost_USE_MULTITHREADED ON )
564
564
unset (Boost_INCLUDE_DIR CACHE )
565
565
unset (Boost_LIBRARY_DIRS CACHE )
566
- find_package (Boost REQUIRED COMPONENTS thread chrono system )
566
+ find_package (Boost REQUIRED COMPONENTS thread system )
567
567
568
568
if (USE_STATIC_BOOST )
569
569
message (STATUS "Linking against boost static libraries" )
Original file line number Diff line number Diff line change 14
14
#include " ../main/localtime_r.h"
15
15
#include < sstream>
16
16
#include < openssl/md5.h>
17
+ #include < chrono>
18
+ #include < thread>
17
19
18
20
#if defined WIN32
19
21
#include " ../msbuild/WindowsHelper.h"
@@ -435,12 +437,12 @@ bool isInt(const std::string &s)
435
437
436
438
void sleep_seconds (const long seconds)
437
439
{
438
- boost ::this_thread::sleep_for (boost ::chrono::seconds (seconds));
440
+ std ::this_thread::sleep_for (std ::chrono::seconds (seconds));
439
441
}
440
442
441
443
void sleep_milliseconds (const long milliseconds)
442
444
{
443
- boost ::this_thread::sleep_for (boost ::chrono::milliseconds (milliseconds));
445
+ std ::this_thread::sleep_for (std ::chrono::milliseconds (milliseconds));
444
446
}
445
447
446
448
int createdir (const char *szDirName, int secattr)
You can’t perform that action at this time.
0 commit comments