diff --git a/BUILD.gn b/BUILD.gn index d347481..0fe59de 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -29,7 +29,7 @@ ohos_executable("syscap_define_check_bin") { sources = [ "./test/syscap_define_check.c" ] if (is_mingw) { - defines += [ "_POSIX_" ] + defines = [ "_POSIX_" ] } subsystem_name = "developtools" diff --git a/include/syscap_define.h b/include/syscap_define.h index 2c5f482..cededa0 100644 --- a/include/syscap_define.h +++ b/include/syscap_define.h @@ -32,6 +32,7 @@ typedef struct SystemCapabilityWithNum { typedef enum SystemCapabilityNum { ACCOUNT_APPACCOUNT, ACCOUNT_OSACCOUNT, + ACE_ACEENGINELITE, AI_AIENGINE, APPLICATIONS_CONTACTSDATA, BARRIERFREE_ACCESSIBILITY_CORE, @@ -220,6 +221,7 @@ typedef enum SystemCapabilityNum { const static SyscapWithNum g_arraySyscap[] = { {"SystemCapability.Account.AppAccount", ACCOUNT_APPACCOUNT}, {"SystemCapability.Account.OsAccount", ACCOUNT_OSACCOUNT}, + {"SystemCapability.Ace.AceEngineLite", ACE_ACEENGINELITE}, {"SystemCapability.Ai.AiEngine", AI_AIENGINE}, {"SystemCapability.Applications.ContactsData", APPLICATIONS_CONTACTSDATA}, {"SystemCapability.Barrierfree.Accessibility.Core", BARRIERFREE_ACCESSIBILITY_CORE},