mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Hack libpng17 to believe it's a release candidate, to remove abort() from its error handling
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
#define PNG_INCH_CONVERSIONS_SUPPORTED
|
||||
#define PNG_INFO_IMAGE_SUPPORTED
|
||||
#define PNG_IO_STATE_SUPPORTED
|
||||
#define PNG_MNG_FEATURES_SUPPORTED
|
||||
#define PNG_MNG_READ_FEATURES_SUPPORTED
|
||||
#define PNG_MNG_WRITE_FEATURES_SUPPORTED
|
||||
// #define PNG_MNG_FEATURES_SUPPORTED
|
||||
// #define PNG_MNG_READ_FEATURES_SUPPORTED
|
||||
// #define PNG_MNG_WRITE_FEATURES_SUPPORTED
|
||||
#define PNG_PALETTE_MAX_SUPPORTED
|
||||
#define PNG_PROGRESSIVE_READ_SUPPORTED
|
||||
#define PNG_READ_16BIT_SUPPORTED
|
||||
|
||||
@@ -347,7 +347,8 @@
|
||||
# define debug_handled(cond) do {} while (0)
|
||||
# if PNG_LIBPNG_BUILD_BASE_TYPE >= PNG_LIBPNG_BUILD_RC
|
||||
/* Make sure there are no 'UNTESTED' macros in released code: */
|
||||
# define UNTESTED libpng untested code
|
||||
// # define UNTESTED libpng untested code
|
||||
# define UNTESTED
|
||||
# endif
|
||||
# define NOT_REACHED do {} while (0)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user