Skip to content

Commit

Permalink
Fixes a bug where Mingw defines JPEG_TRUE JPEG_FALSE AND JPEG_boolean…
Browse files Browse the repository at this point in the history
… in libjpeg-8

When building in linux with gcc those flags are not defined
  • Loading branch information
zenios committed Jun 12, 2011
1 parent c33527f commit 2ae0353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IMG_jpg.c
Expand Up @@ -34,7 +34,7 @@

#include <jpeglib.h>

#if JPEG_LIB_VERSION >= 80
#if JPEG_LIB_VERSION >= 80 && defined(__MINGW__)
typedef JPEG_boolean boolean;
#define TRUE JPEG_TRUE
#define FALSE JPEG_FALSE
Expand Down

0 comments on commit 2ae0353

Please sign in to comment.