diff --git a/engine/client/image.c b/engine/client/image.c index 161eeedfd..f578d927d 100644 --- a/engine/client/image.c +++ b/engine/client/image.c @@ -705,9 +705,9 @@ int Image_WritePNG (char *filename, int compression, qbyte *pixels, int width, i #endif #ifdef AVAIL_JPEGLIB -#if defined(MINGW) -#error no jpegs with mingw -#elif defined(_WIN32) +#define XMD_H //fix for mingw + +#if defined(_WIN32) #define JPEG_API VARGS #include "jpeglib.h"