Update signal.h

This commit is contained in:
Man, Jianting (Meco) 2023-01-04 00:13:36 -05:00 committed by guo
parent 6a25a68be6
commit 5ca410bb4b
1 changed files with 0 additions and 2 deletions

View File

@ -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)