mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-19 05:51:24 +08:00
update png configuration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1323 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
9fab1b316f
commit
4a0e072cc5
6
components/external/libpng/pngconf.h
vendored
6
components/external/libpng/pngconf.h
vendored
@ -20,13 +20,17 @@
|
||||
#define __RT_THREAD__
|
||||
|
||||
#ifdef __RT_THREAD__
|
||||
#include <rtthread.h>
|
||||
#define PNG_MAX_MALLOC_64K
|
||||
|
||||
#ifndef RT_USING_NEWLIB
|
||||
#define PNG_NO_WRITE_SUPPORTED
|
||||
#define PNG_NO_STDIO
|
||||
#define PNG_NO_SETJMP_SUPPORTED
|
||||
#define PNG_MAX_MALLOC_64K
|
||||
#define malloc rtgui_malloc
|
||||
#define free rtgui_free
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define PNG_1_2_X
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user