diff --git a/ChangeLog.md b/ChangeLog.md index 406c6db2..d6998d8c 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -11,6 +11,9 @@ actual security issues, should they arise in the future. algorithm that caused incorrect dithering in the output image. This algorithm now produces bitwise-identical results to the unmerged algorithms. +3. Fixed a build error when building with older MinGW releases (regression +caused by 1.5.1[7].) + 1.5.3 ===== diff --git a/jmemmgr.c b/jmemmgr.c index 8dfb633d..40621cd2 100644 --- a/jmemmgr.c +++ b/jmemmgr.c @@ -32,7 +32,7 @@ #include "jinclude.h" #include "jpeglib.h" #include "jmemsys.h" /* import the system-dependent declarations */ -#ifndef _WIN32 +#if !defined(_MSC_VER) || _MSC_VER > 1600 #include #endif #include