forked from Mirrors/openclonk
Workaround a jpeglib 6b weirdness
parent
894fefa8c9
commit
0d804cad50
|
@ -294,7 +294,11 @@ extern "C"
|
||||||
/* avoid conflict with conflicting boolean and FAR typedefs */
|
/* avoid conflict with conflicting boolean and FAR typedefs */
|
||||||
#undef __RPCNDR_H__
|
#undef __RPCNDR_H__
|
||||||
#undef FAR
|
#undef FAR
|
||||||
#define boolean jpeg_boolean
|
#ifdef jpeg_boolean
|
||||||
|
#define boolean jpeg_boolean
|
||||||
|
#else
|
||||||
|
#define jpeg_boolean boolean
|
||||||
|
#endif
|
||||||
#include <jpeglib.h>
|
#include <jpeglib.h>
|
||||||
#undef boolean
|
#undef boolean
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue