summaryrefslogtreecommitdiff
path: root/components/external/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'components/external/libpng')
-rw-r--r--components/external/libpng/pngconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/external/libpng/pngconf.h b/components/external/libpng/pngconf.h
index 047376302d..bb0a189f9d 100644
--- a/components/external/libpng/pngconf.h
+++ b/components/external/libpng/pngconf.h
@@ -23,6 +23,8 @@
#include <rtthread.h>
#define PNG_MAX_MALLOC_64K
#define PNG_NO_STDIO
+#define PNG_NO_ERROR_NUMBERS
+#define PNG_ABORT() do { rt_kprintf("libpng abort.\n"); } while (0)
#ifndef RT_USING_NEWLIB
#define PNG_NO_WRITE_SUPPORTED