X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0272a10d2e6d5323422c4c8600fe47ccac0df182..42dfe2b25975537db8bb54ab104385748ff7d175:/src/png/pngconf.h diff --git a/src/png/pngconf.h b/src/png/pngconf.h index 5b36cf6bde..74a14db121 100644 --- a/src/png/pngconf.h +++ b/src/png/pngconf.h @@ -19,6 +19,10 @@ #define PNG_1_2_X +#ifdef __DMC__ +#define PNG_NO_SNPRINTF +#endif + /* * PNG_USER_CONFIG has to be defined on the compiler command line. This * includes the resource compiler for Windows DLL configurations. @@ -361,7 +365,7 @@ */ #if defined(PNG_FLOATING_POINT_SUPPORTED) -# if defined(MACOS) +# if defined(MACOS) && !wxOSX_USE_IPHONE /* We need to check that hasn't already been included earlier * as it seems it doesn't agree with , yet we should really use * if possible.