mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[external] PNG_NO_WRITE_SUPPORTED issue
Move PNG_NO_WRITE_SUPPORTED outside of RT_USING_NEWLIB. #197
This commit is contained in:
1 parent
59c128c073
commit
07c486413b
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user