1 Ported to updated libjpeg-turbo from
2 https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-libjpeg-turbo/jpeg-typedefs.patch
3 --- a/jmorecfg.h 2012-02-10 06:47:55 +0300
4 +++ b/jmorecfg.h 2012-05-03 10:29:13 +0400
6 * Defining HAVE_BOOLEAN before including jpeglib.h should make it work.
10 +#if defined(_WIN32) && !defined(HAVE_BOOLEAN)
12 +typedef unsigned char boolean;
16 +#if !defined(HAVE_BOOLEAN) && !defined(__RPCNDR_H__)
19 #ifndef FALSE /* in case these macros already exist */