Skip to content
Snippets Groups Projects
Commit 49ab51dc authored by Nirbheek Chauhan's avatar Nirbheek Chauhan :ant:
Browse files

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
parent d5dba89f
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,9 @@ ...@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment