diff --git a/ext/gl/gstgloverlay.c b/ext/gl/gstgloverlay.c index 59096cb320..a2c9fbb20d 100644 --- a/ext/gl/gstgloverlay.c +++ b/ext/gl/gstgloverlay.c @@ -45,7 +45,7 @@ #include #include -#ifdef _MSC_VER +#if defined(_MSC_VER) || (defined (__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR >= 6) #define HAVE_BOOLEAN #endif #include