summaryrefslogtreecommitdiff
path: root/components/external
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-08-01 12:03:24 +0800
committerbernard <[email protected]>2014-08-01 12:03:24 +0800
commit582aff86ed91dad23e8ace36f8466ca20c80bebf (patch)
tree77b4338a8afe48a1c45be9f4bab9b40de1543c5b /components/external
parent516711dc1d08ed332704ec53fd377edbdd0b9834 (diff)
parent2fdef817b1a0ce82ef61bde11f41e651c1cc8d79 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-threadv2.0.0_beta
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