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:
parent
45ad33c94c
commit
0d37cc3b11
@ -44,6 +44,9 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define HAVE_BOOLEAN
|
||||||
|
#endif
|
||||||
#include <jpeglib.h>
|
#include <jpeglib.h>
|
||||||
#include <png.h>
|
#include <png.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user