From: Chris Elliott Date: Thu, 25 Oct 2007 13:24:49 +0000 (+0000) Subject: fix png compile bug with DMC X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e0e742c32e28133dbd254de44b2a2188e4cb6644?hp=8ec67c0bf1d9f1504e073a2d7e323af6977d715d fix png compile bug with DMC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/png/pngconf.h b/src/png/pngconf.h index 5b36cf6bde..0aa121201e 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.