提交 5900b487 编写于 作者: C cheng_jinsong

fix build for l0

Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
上级 4fb1cf39
......@@ -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.
先完成此消息的编辑!
想要评论请 注册