Disable pthreads under Emscripten for now, they aren't actually available unless you compile with experimental settings (nw)

This commit is contained in:
Justin Kerk 2016-05-26 01:10:30 +00:00
parent b60112ce44
commit 72adf80244

View File

@ -224,7 +224,7 @@ int thread_adjust_priority(std::thread *thread, int adjust)
else
SetThreadPriority((HANDLE)thread->native_handle(), GetThreadPriority(GetCurrentThread()));
#endif
#if defined(SDLMAME_LINUX) || defined(SDLMAME_BSD) || defined(SDLMAME_HAIKU) || defined(SDLMAME_EMSCRIPTEN) || defined(SDLMAME_DARWIN)
#if defined(SDLMAME_LINUX) || defined(SDLMAME_BSD) || defined(SDLMAME_HAIKU) || defined(SDLMAME_DARWIN)
struct sched_param sched;
int policy;