提交 f84d89b0 编写于 作者: W wangxiaoyao 提交者: guo

[libc] including musl signal.h with _POSIX_SOURCE

上级 855aef9c
......@@ -17,7 +17,17 @@ extern "C" {
#endif /* __cplusplus */
#ifdef RT_USING_MUSLLIBC
/* this is require for musl <signal.h> */
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#include <signal.h>
/* limit influenced of _POSIX_SOURCE */
#undef _POSIX_SOURCE
#else /* ndef _POSIX_SOURCE */
#include <signal.h>
#endif
#else
#include <stdint.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册