diff --git a/3rdparty/libjpeg/jconfig.h b/3rdparty/libjpeg/jconfig.h index 025ff5a30..e66cc7747 100644 --- a/3rdparty/libjpeg/jconfig.h +++ b/3rdparty/libjpeg/jconfig.h @@ -9,7 +9,7 @@ /*#undef const*/ #undef CHAR_IS_UNSIGNED -#if !defined WIN32 && !defined _WIN32 +#if defined __MINGW__ || defined __MINGW32__ || (!defined WIN32 && !defined _WIN32) #define HAVE_STDDEF_H #define HAVE_STDLIB_H #endif