mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef _MSC_VER
|
||||
#define HAVE_BOOLEAN
|
||||
#endif
|
||||
#include <jpeglib.h>
|
||||
#include <png.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue