Update signal.h
This commit is contained in:
parent
6a25a68be6
commit
5ca410bb4b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue