]> git.saurik.com Git - wxWidgets.git/commitdiff
fix png compile bug with DMC
authorChris Elliott <biol75@york.ac.uk>
Thu, 25 Oct 2007 13:24:49 +0000 (13:24 +0000)
committerChris Elliott <biol75@york.ac.uk>
Thu, 25 Oct 2007 13:24:49 +0000 (13:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/png/pngconf.h

index 5b36cf6bdeaa00a0685c71f845a6551ba8ce6db2..0aa121201e5da9838d96b8006e33c8c6e24aa6a4 100644 (file)
 
 #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.