未验证 提交 6d2e1120 编写于 作者: O openharmony_ci 提交者: Gitee

!2052 解决产品l0编译问题

Merge pull request !2052 from cheng_jinsong/initl0
......@@ -44,8 +44,8 @@ extern "C" {
#define ATOMIC_UINT64_INIT(commitId, value) *(commitId) = (value)
#define ATOMIC_UINT64_LOAD_EXPLICIT(commitId, order) *(commitId)
#define ATOMIC_UINT64_STORE_EXPLICIT(commitId, value, order) *(commitId) = (value)
#define ATOMIC_SYNC_OR_AND_FETCH(commitId, value, order) *(commitId)
#define ATOMIC_SYNC_ADD_AND_FETCH(commitId, value, order) *(commitId)
#define ATOMIC_SYNC_OR_AND_FETCH(commitId, value, order) *(commitId) |= (value)
#define ATOMIC_SYNC_ADD_AND_FETCH(commitId, value, order) *(commitId) += (value)
#define futex_wake(ftx, count) (void)(ftx)
#define futex_wait(ftx, value) (void)(ftx)
......
......@@ -17,6 +17,7 @@
#define BASE_STARTUP_PARAM_COMMON_H
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
#ifndef __LITEOS_M__
#include <pthread.h>
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册