!975 【回合monthly1018】fix: misc_config中defines未初始化导致编译失败

Merge pull request !975 from Zhaotianyu/cherry-pick-1671695812
This commit is contained in:
openharmony_ci
2022-12-23 09:04:20 +00:00
committed by Gitee

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)) {