mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[libromdata] CisoPspDlopen.hpp: Need to typedef int pthread_once_t
on Windows.
Normally this would be in pthread_once.h, but we're not using the standard version due to calling a class member function.
This commit is contained in:
parent
df719e959a
commit
981c173142
@ -14,6 +14,7 @@
|
||||
# include "libwin32common/RpWin32_sdk.h"
|
||||
# define dlsym(handle, symbol) GetProcAddress((handle), (symbol))
|
||||
# define dlclose(handle) FreeLibrary(handle)
|
||||
typedef int pthread_once_t;
|
||||
#else /* !_WIN32 */
|
||||
# include <dlfcn.h> // for dlopen()
|
||||
typedef void *HMODULE;
|
||||
|
Loading…
Reference in New Issue
Block a user