!974 fix: misc_config中defines未初始化导致编译失败

Merge pull request !974 from Zhaotianyu/20221222misc_config
This commit is contained in:
openharmony_ci 2022-12-22 07:44:57 +00:00 committed by Gitee
commit 83fc93cc84
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 1 deletions

View File

@ -91,8 +91,9 @@ config("dialect_config") {
}
config("misc_config") {
defines = []
if (!defined(LOSCFG_COMPILER_ICCARM)) {
defines = [ "__LITEOS__" ]
defines += [ "__LITEOS__" ]
defines += [ "__LITEOS_M__" ]
}
if (!defined(LOSCFG_DEBUG_VERSION)) {