diff --git a/src/sdl/i_main.cpp b/src/sdl/i_main.cpp index 44c685061..90b1a6a96 100644 --- a/src/sdl/i_main.cpp +++ b/src/sdl/i_main.cpp @@ -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