mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00
[libromdata] CisoPspDlopen.cpp: Define PTHREAD_ONCE_INIT on Windows.
This commit is contained in:
parent
981c173142
commit
cff7086b3d
@ -14,6 +14,7 @@
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include "libwin32common/RpWin32_sdk.h"
|
# include "libwin32common/RpWin32_sdk.h"
|
||||||
# define sched_yield() SwitchToThread()
|
# define sched_yield() SwitchToThread()
|
||||||
|
static constexpr pthread_once_t PTHREAD_ONCE_INIT = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
Loading…
Reference in New Issue
Block a user