提交 7d1fcf27 编写于 作者: D dhy308

适配L2上Musl库编译问题

Signed-off-by: Ndhy308 <tony.gan@huawei.com>
上级 af32adfb
......@@ -9,10 +9,10 @@
#define FE_INEXACT 16
#define FE_ALL_EXCEPT 31
#define FE_TONEAREST 0
#define FE_DOWNWARD 0x800000
#define FE_UPWARD 0x400000
#define FE_TOWARDZERO 0xc00000
#endif
#define FE_DOWNWARD 0x800000
#define FE_UPWARD 0x400000
typedef unsigned long fexcept_t;
......
......@@ -466,13 +466,13 @@ pid_t gettid(void);
#ifdef _GNU_SOURCE
#ifndef TEMP_FAILURE_RETRY
#define MUSL_TEMP_FAILURE_RETRY(expression) \
(__extension__\
({ long int __result;\
do __result = (long int)(expression);\
while(__result == -1L&& errno == EINTR);\
__result;})\
(__extension__ \
({ long int __result; \
do __result = (long int)(expression); \
while(__result == -1L&& errno == EINTR); \
__result;}))
#define TEMP_FAILURE_RETRY MUSL_TEMP_FAILURE_RETRY
#define TEMP_FAILURE_RETRY(expression) MUSL_TEMP_FAILURE_RETRY(expression)
#endif
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册