sdl/i_main.cpp: guard entire init_exchndl behind _WIN32

Fixes -Wunused-function
This commit is contained in:
James R 2023-01-05 18:06:50 -08:00
parent a345ccda68
commit 16ac11d76e

View file

@ -198,9 +198,9 @@ static void InitLogging(void)
}
#endif
#ifdef _WIN32
static void init_exchndl()
{
#ifdef _WIN32
HMODULE exchndl_module = LoadLibraryA("exchndl.dll");
if (exchndl_module != NULL)
{
@ -210,8 +210,8 @@ static void init_exchndl()
if (pfnExcHndlInit != NULL)
(pfnExcHndlInit)();
}
#endif
}
#endif
#ifdef _WIN32
static void