Better mingw fix, future proof
authorSam Lantinga <slouken@libsdl.org>
Sat, 31 Dec 2011 12:36:11 -0500
changeset 282e0527402f476
parent 281 bcdf362c177c
child 283 ec183abd5996
Better mingw fix, future proof
IMG_jpg.c
     1.1 --- a/IMG_jpg.c	Sat Dec 31 10:35:14 2011 -0500
     1.2 +++ b/IMG_jpg.c	Sat Dec 31 12:36:11 2011 -0500
     1.3 @@ -33,7 +33,7 @@
     1.4  
     1.5  #include <jpeglib.h>
     1.6  
     1.7 -#if JPEG_LIB_VERSION >= 80 && defined(__MINGW__)
     1.8 +#ifdef JPEG_TRUE  /* MinGW version of jpeg-8.x renamed TRUE to JPEG_TRUE etc. */
     1.9  	typedef JPEG_boolean boolean;
    1.10  	#define TRUE JPEG_TRUE
    1.11  	#define FALSE JPEG_FALSE