提交 5ca410bb 编写于 作者: mysterywolf's avatar mysterywolf 提交者: guo

Update signal.h

上级 6a25a68b
......@@ -215,11 +215,9 @@ int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact)
#define NSIG 32 /* signal 0 implied */
#endif /* __ARMCC_VERSION */
#ifndef RT_USING_MUSLLIBC
/* Some applications take advantage of the fact that <sys/signal.h>
* and <signal.h> are equivalent in glibc. Allow for that here. */
#include <signal.h>
#endif /* RT_USING_MUSLLIBC */
#ifndef SIG_ERR
#define SIG_ERR ((void (*)(int))-1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册