libretro: windows build fix
This commit is contained in:
parent
45f4378184
commit
a0e8e9a9df
|
@ -851,6 +851,9 @@ if(LIBRETRO)
|
|||
if(APPLE)
|
||||
target_sources(${PROJECT_NAME} PRIVATE shell/libretro/oslib_apple.mm)
|
||||
endif()
|
||||
if(WIN32)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE mswsock)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_sources(${PROJECT_NAME} PRIVATE
|
||||
|
|
|
@ -24,7 +24,14 @@
|
|||
|
||||
static PVOID vectoredHandler;
|
||||
static LONG (WINAPI *prevExceptionHandler)(EXCEPTION_POINTERS *ep);
|
||||
#ifndef LIBRETRO
|
||||
const char *getThreadName();
|
||||
#else
|
||||
// TODO
|
||||
static const char *getThreadName() {
|
||||
return "";
|
||||
}
|
||||
#endif
|
||||
|
||||
static void readContext(const EXCEPTION_POINTERS *ep, host_context_t &context)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue