mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
fix(obj): fixed warning when using clang compiler on macOS (#3960)
Signed-off-by: W-Mai <1341398182@qq.com>
This commit is contained in:
@@ -27,8 +27,11 @@ extern "C" {
|
|||||||
**********************/
|
**********************/
|
||||||
/*Can't include lv_obj.h because it includes this header file*/
|
/*Can't include lv_obj.h because it includes this header file*/
|
||||||
struct _lv_obj_t;
|
struct _lv_obj_t;
|
||||||
|
|
||||||
|
#ifndef LV_OBJ_H
|
||||||
typedef uint32_t lv_part_t;
|
typedef uint32_t lv_part_t;
|
||||||
typedef uint16_t lv_state_t;
|
typedef uint16_t lv_state_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
_LV_STYLE_STATE_CMP_SAME, /*The style properties in the 2 states are identical*/
|
_LV_STYLE_STATE_CMP_SAME, /*The style properties in the 2 states are identical*/
|
||||||
|
|||||||
Reference in New Issue
Block a user