IMG_jpg.c
changeset 273 b1c1ec3a8d49
parent 237 d1a4fae44bd0
child 276 a5d4daece235
     1.1 --- a/IMG_jpg.c	Mon Mar 28 10:11:00 2011 -0700
     1.2 +++ b/IMG_jpg.c	Thu Apr 07 07:50:52 2011 -0700
     1.3 @@ -34,6 +34,12 @@
     1.4  
     1.5  #include <jpeglib.h>
     1.6  
     1.7 +#if JPEG_LIB_VERSION >= 80
     1.8 +	typedef JPEG_boolean boolean;
     1.9 +	#define TRUE JPEG_TRUE
    1.10 +	#define FALSE JPEG_FALSE
    1.11 +#endif
    1.12 +
    1.13  /* Define this for fast loading and not as good image quality */
    1.14  /*#define FAST_JPEG*/
    1.15