提交 30963117 编写于 作者: O openharmony_ci 提交者: Gitee

!50 对内核中menuconfig开关的宏使用#ifdef/#ifndef来做预编译判断

Merge pull request !50 from boxi/upload
......@@ -105,7 +105,7 @@ typedef struct __pthread_attr_s {
void* stackaddr;
unsigned int stacksize_set;
size_t stacksize;
#if (LOSCFG_KERNEL_SMP == YES)
#ifdef LOSCFG_KERNEL_SMP
cpu_set_t cpuset;
#endif
} pthread_attr_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册