improve config

This commit is contained in:
xianjimli 2018-10-01 17:59:50 +08:00
parent 64add672e0
commit 82079d9601
2 changed files with 19 additions and 7 deletions

View File

@ -94,6 +94,18 @@
* #define HAS_STD_MALLOC 1
*/
/**
* fopen/fclose等函数
*
* #define HAS_STDIO 1
*/
/**
* pthread等函数
*
* #define HAS_PTHREAD 1
*/
/**
* memcpy函数
*
@ -124,10 +136,4 @@
* #define WITH_NANOVG_AGGE 1
*/
/**
* VGCANVAS
*
* #define WITH_VGCANVAS 1
*/
#endif /*AWTK_CONFIG_H*/

View File

@ -172,7 +172,7 @@ typedef enum _lcd_orientation_t {
#define PATH_SEP '/'
#endif /*PATH_SEP*/
#ifdef NDEBUG
#if defined(NDEBUG) || defined(SYLIXOS)
#define ENSURE(p) p
#define goto_error_if_fail(p) \
if (!(p)) { \
@ -440,4 +440,10 @@ typedef enum _app_type_t {
#define WITH_G2D 1
#endif /*WITH_PXP_G2D*/
#ifdef WITH_NANOVG_AGGE
#ifndef WITH_NANOVG_SOFT
#define WITH_NANOVG_SOFT
#endif/*WITH_NANOVG_SOFT*/
#endif/*WITH_NANOVG_AGGE*/
#endif /*TYPES_DEF_H*/