summaryrefslogtreecommitdiff
path: root/components/external
diff options
context:
space:
mode:
author陈豪 <[email protected]>2014-08-06 22:55:49 +0800
committer陈豪 <[email protected]>2014-08-06 22:55:49 +0800
commit5fc32bf12ef4356ecbd46cfa21079cddb522b5c7 (patch)
tree8f77e59c1bcec59c3c5efd0fe022f3dc0a0c901e /components/external
parent0c8335d5ab046ce9fe36c4e01d5d40e4ba152b49 (diff)
parenta8fadf15b1828569e7684049d983cc6cb7fda2c9 (diff)
Merge pull request #1 from RT-Thread/master
sync
Diffstat (limited to 'components/external')
-rw-r--r--components/external/libpng/pngconf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/external/libpng/pngconf.h b/components/external/libpng/pngconf.h
index bb0a189f9d..cca0657e4c 100644
--- a/components/external/libpng/pngconf.h
+++ b/components/external/libpng/pngconf.h
@@ -24,10 +24,10 @@
#define PNG_MAX_MALLOC_64K
#define PNG_NO_STDIO
#define PNG_NO_ERROR_NUMBERS
+#define PNG_NO_WRITE_SUPPORTED
#define PNG_ABORT() do { rt_kprintf("libpng abort.\n"); } while (0)
#ifndef RT_USING_NEWLIB
-#define PNG_NO_WRITE_SUPPORTED
#define PNG_NO_SETJMP_SUPPORTED
#define malloc rtgui_malloc
#define free rtgui_free