evas/eet: Prevent libjpeg to redefine INT32.

The define prevents that INT32 gets redefined in libjpeg while it
already is defined for the mingw build.
This commit is contained in:
Stefan Schmidt 2013-07-09 09:43:26 +01:00
parent b579df2f51
commit 92de5dd3c6
2 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#ifdef _WIN32
# include <winsock2.h>
# define HAVE_BOOLEAN
# define XMD_H /* This prevents libjpeg to redefine INT32 */
#endif /* ifdef _WIN32 */
#include <stdio.h>

View File

@ -8,6 +8,10 @@
# include <Evil.h>
#endif
#ifdef _WIN32
# define XMD_H /* This prevents libjpeg to redefine INT32 */
#endif
#include <setjmp.h>
#include <jpeglib.h>