Auto-detect WASI platform

This commit is contained in:
Antoine 2024-06-24 23:02:55 +02:00 committed by arcady-lunarg
parent 20490a11aa
commit 7c40de7aa2

View file

@ -94,6 +94,11 @@ std::string to_string(const T& val) {
#pragma warning(disable : 4201) // nameless union
#endif
// Allow compilation to WASI which does not support threads yet.
#ifdef __wasi__
#define DISABLE_THREAD_SUPPORT
#endif
#include "PoolAlloc.h"
//