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
parent d5dba89fc0
commit 49ab51dc7d

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>