mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-20 09:11:01 +00:00
I double checked, and yes, png_memcmp/png_memcpy were indeed moved to pngpriv.h in libpng 1.5.0
This commit is contained in:
parent
91df56a366
commit
d6721755c7
1 changed files with 2 additions and 3 deletions
|
@ -89,9 +89,8 @@ typedef off_t off64_t;
|
|||
#endif
|
||||
#if (PNG_LIBPNG_VER_MAJOR > 1) || (PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 5)
|
||||
#define USE_NEW_PNG_EXPORT // PNG_EXPORT is different from 1.5.0 onwards
|
||||
#endif
|
||||
#if (PNG_LIBPNG_VER_MAJOR > 1) || (PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 6)
|
||||
// 1.6.0 removes these (1.5.0 made them private)
|
||||
|
||||
// 1.5.0 moved these to pngpriv.h (they were later removed in 1.6.0)
|
||||
#define png_memcmp memcmp
|
||||
#define png_memcpy memcpy
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue