From ce71108efa0d1d93c4b9ffbbd7d5fa71b030213d Mon Sep 17 00:00:00 2001 From: TwistedUmbrella Date: Sat, 21 Apr 2018 00:41:19 -0400 Subject: [PATCH] libpng: update zlib references --- core/deps/libpng/pnglibconf.h | 2 +- core/deps/libpng/pngstruct.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/deps/libpng/pnglibconf.h b/core/deps/libpng/pnglibconf.h index 502dd7a93..7319dee6d 100644 --- a/core/deps/libpng/pnglibconf.h +++ b/core/deps/libpng/pnglibconf.h @@ -209,7 +209,7 @@ #define PNG_USER_HEIGHT_MAX 1000000 #define PNG_USER_WIDTH_MAX 1000000 #define PNG_ZBUF_SIZE 8192 -#define PNG_ZLIB_VERNUM 0x12b0 +#define PNG_ZLIB_VERNUM 0x1280 #define PNG_Z_DEFAULT_COMPRESSION (-1) #define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0 #define PNG_Z_DEFAULT_STRATEGY 1 diff --git a/core/deps/libpng/pngstruct.h b/core/deps/libpng/pngstruct.h index d83f97125..efbabfeb1 100644 --- a/core/deps/libpng/pngstruct.h +++ b/core/deps/libpng/pngstruct.h @@ -27,7 +27,7 @@ /* We must ensure that zlib uses 'const' in declarations. */ # define ZLIB_CONST #endif -#include "zlib.h" +#include "../zlib/zlib.h" #ifdef const /* zlib.h sometimes #defines const to nothing, undo this. */ # undef const