mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
sdl/i_main.cpp: guard entire init_exchndl behind _WIN32
Fixes -Wunused-function
This commit is contained in:
parent
a345ccda68
commit
16ac11d76e
1 changed files with 2 additions and 2 deletions
|
|
@ -198,9 +198,9 @@ static void InitLogging(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
static void init_exchndl()
|
static void init_exchndl()
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
|
||||||
HMODULE exchndl_module = LoadLibraryA("exchndl.dll");
|
HMODULE exchndl_module = LoadLibraryA("exchndl.dll");
|
||||||
if (exchndl_module != NULL)
|
if (exchndl_module != NULL)
|
||||||
{
|
{
|
||||||
|
|
@ -210,8 +210,8 @@ static void init_exchndl()
|
||||||
if (pfnExcHndlInit != NULL)
|
if (pfnExcHndlInit != NULL)
|
||||||
(pfnExcHndlInit)();
|
(pfnExcHndlInit)();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue