mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Don't include pthread on wasi or enscripten
This commit is contained in:
parent
ba863b1a82
commit
7491c81153
1 changed files with 1 additions and 1 deletions
2
cutils.h
2
cutils.h
|
@ -49,7 +49,7 @@ extern "C" {
|
|||
#elif defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if !defined(_WIN32)
|
||||
#if !defined(_WIN32) && !defined(EMSCRIPTEN) && !defined(__wasi__)
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue