Fix build with older MinGW releases
Some MinGW implementations need stdint.h in order to define SIZE_MAX. Regression caused bya09ba29a55and not fully fixed bya0047bdea4. Closes #220
This commit is contained in:
@@ -11,6 +11,9 @@ actual security issues, should they arise in the future.
|
|||||||
algorithm that caused incorrect dithering in the output image. This algorithm
|
algorithm that caused incorrect dithering in the output image. This algorithm
|
||||||
now produces bitwise-identical results to the unmerged algorithms.
|
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
|
1.5.3
|
||||||
=====
|
=====
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
#include "jinclude.h"
|
#include "jinclude.h"
|
||||||
#include "jpeglib.h"
|
#include "jpeglib.h"
|
||||||
#include "jmemsys.h" /* import the system-dependent declarations */
|
#include "jmemsys.h" /* import the system-dependent declarations */
|
||||||
#ifndef _WIN32
|
#if !defined(_MSC_VER) || _MSC_VER > 1600
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user