gl: fix build with more recent versions of MinGW

This commit is contained in:
Andoni Morales Alastruey 2019-01-05 00:16:36 +01:00 committed by Tim-Philipp Müller
parent c48b3d15c8
commit a52ad2078a

View file

@ -45,7 +45,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef _MSC_VER #if defined(_MSC_VER) || (defined (__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR >= 6)
#define HAVE_BOOLEAN #define HAVE_BOOLEAN
#endif #endif
#include <jpeglib.h> #include <jpeglib.h>