mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-03 12:37:43 +08:00
improve config
This commit is contained in:
parent
64add672e0
commit
82079d9601
@ -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*/
|
||||
|
@ -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*/
|
||||
|
Loading…
Reference in New Issue
Block a user