Don't include pthread on wasi or enscripten

This commit is contained in:
satk0 2024-10-07 22:08:31 +02:00 committed by Saúl Ibarra Corretgé
parent ba863b1a82
commit 7491c81153

View file

@ -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