diff --git a/src/libs/thorvg/thorvg.h b/src/libs/thorvg/thorvg.h index 7f5a84b94..fdcf36d3c 100644 --- a/src/libs/thorvg/thorvg.h +++ b/src/libs/thorvg/thorvg.h @@ -13,6 +13,7 @@ #include "../../lv_conf_internal.h" #if LV_USE_THORVG_INTERNAL +#define TVG_BUILD 1 #ifndef _THORVG_H_ diff --git a/src/libs/thorvg/thorvg_capi.h b/src/libs/thorvg/thorvg_capi.h index c4db0cdfd..a39eb9905 100644 --- a/src/libs/thorvg/thorvg_capi.h +++ b/src/libs/thorvg/thorvg_capi.h @@ -17,9 +17,7 @@ #include "../../lv_conf_internal.h" #if LV_USE_THORVG_INTERNAL - -#include "../../lv_conf_internal.h" -#if LV_USE_THORVG_INTERNAL +#define TVG_BUILD 1 #ifndef __THORVG_CAPI_H__ #define __THORVG_CAPI_H__ @@ -2327,8 +2325,6 @@ TVG_API Tvg_Result tvg_animation_del(Tvg_Animation* animation); #endif //_THORVG_CAPI_H_ -#endif /* LV_USE_THORVG_INTERNAL */ - #endif /* LV_USE_THORVG_INTERNAL */