diff --git a/src/sdl/i_main.c b/src/sdl/i_main.c index e6644ec5..4ac45aa1 100644 --- a/src/sdl/i_main.c +++ b/src/sdl/i_main.c @@ -58,8 +58,11 @@ char logfilename[1024]; #endif #endif -#if defined (_WIN32) +#ifdef _WIN32 +#ifndef _AMD64_ #include "exchndl.h" +#define DRMINGW +#endif #endif #if defined (_WIN32) @@ -174,7 +177,9 @@ int main(int argc, char **argv) ) #endif { +#ifdef DRMINGW ExcHndlInit(); +#endif } } #ifndef __MINGW32__