From e0e742c32e28133dbd254de44b2a2188e4cb6644 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Thu, 25 Oct 2007 13:24:49 +0000 Subject: [PATCH] fix png compile bug with DMC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/png/pngconf.h | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.47.2