X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/706b88074de0c288b81edac13094dd052b6cc078..50b58dec17f90370a1ae76ad00aaff8c3c5066a9:/src/png/png.h diff --git a/src/png/png.h b/src/png/png.h index d25e6fb153..b57acb4141 100644 --- a/src/png/png.h +++ b/src/png/png.h @@ -2726,9 +2726,12 @@ PNG_EXTERN png_int_32 png_get_int_32 PNGARG((png_bytep buf)); PNG_EXTERN png_uint_32 png_get_uint_32 PNGARG((png_bytep buf)); PNG_EXTERN png_uint_16 png_get_uint_16 PNGARG((png_bytep buf)); #endif /* !PNG_READ_BIG_ENDIAN_SUPPORTED */ +/* RN: This define is blatent hack to get png to (hopefully) + link on OSX 10.2 and earlier versions of 10.3 due to an + Apple linking bug introduced in 10.2 */ +#define png_get_uint_31 wxpng_get_uint_31 PNG_EXTERN png_uint_32 png_get_uint_31 PNGARG((png_structp png_ptr, png_bytep buf)); - /* Initialize png_ptr struct for reading, and allocate any other memory. * (old interface - DEPRECATED - use png_create_read_struct instead). */