ext/gl: Don't define boolean on Windows with MSVC

The headers we include already define boolean on Windows with MSVC, and
it leads to a typedef redefinition error with jpeglib.h which tries to
redefine it in jmorecfg.h
This commit is contained in:
Nirbheek Chauhan 2016-10-27 09:10:03 +05:30 committed by Tim-Philipp Müller
parent 45ad33c94c
commit 0d37cc3b11

View file

@ -44,6 +44,9 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef _MSC_VER
#define HAVE_BOOLEAN
#endif
#include <jpeglib.h>
#include <png.h>