diff --git a/sysconfig.h b/sysconfig.h index be93aeb0..e5460faa 100644 --- a/sysconfig.h +++ b/sysconfig.h @@ -250,6 +250,11 @@ #define HYPERPATH "" #endif +#if ISWINDOWS +#define hyper fake_hyper // avoid "hyper" typedef in <_mingw.h> +#define WIN32_LEAN_AND_MEAN // avoid "rad1" macro in +#endif + #include #if CAP_SDL @@ -407,3 +412,7 @@ extern "C" { #if CAP_SDL union SDL_Event; #endif + +#if ISWINDOWS +#undef hyper // avoid "hyper" typedef in <_mingw.h> +#endif