mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-28 08:20:19 +08:00
replaced include pthread.h with <thread>
This commit is contained in:
parent
e8a27a1cee
commit
3ee728d11b
@ -36,7 +36,7 @@
|
|||||||
#include <sys/syscall.h> //Use gettid() syscall under linux to get thread id
|
#include <sys/syscall.h> //Use gettid() syscall under linux to get thread id
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#else
|
#else
|
||||||
#include <pthread.h>
|
#include <thread>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user