[libromdata] CisoPspDlopen.cpp: Define PTHREAD_ONCE_INIT on Windows.
Some checks failed
Codecov / run (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled

This commit is contained in:
David Korth 2025-06-05 23:25:05 -04:00
parent 981c173142
commit cff7086b3d

View File

@ -14,6 +14,7 @@
#ifdef _WIN32
# include "libwin32common/RpWin32_sdk.h"
# define sched_yield() SwitchToThread()
static constexpr pthread_once_t PTHREAD_ONCE_INIT = 0;
#endif
#ifdef _MSC_VER