Browse Source

Update signal.h

Man, Jianting (Meco) 2 years ago
parent
commit
5ca410bb4b
1 changed files with 0 additions and 2 deletions
  1. 0 2
      components/libc/compilers/common/include/sys/signal.h

+ 0 - 2
components/libc/compilers/common/include/sys/signal.h

@@ -215,11 +215,9 @@ int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact)
 #define NSIG    32      /* signal 0 implied */
 #define NSIG    32      /* signal 0 implied */
 #endif /* __ARMCC_VERSION */
 #endif /* __ARMCC_VERSION */
 
 
-#ifndef RT_USING_MUSLLIBC
 /* Some applications take advantage of the fact that <sys/signal.h>
 /* Some applications take advantage of the fact that <sys/signal.h>
  * and <signal.h> are equivalent in glibc.  Allow for that here.  */
  * and <signal.h> are equivalent in glibc.  Allow for that here.  */
 #include <signal.h>
 #include <signal.h>
-#endif /* RT_USING_MUSLLIBC */
 
 
 #ifndef SIG_ERR
 #ifndef SIG_ERR
 #define SIG_ERR  ((void (*)(int))-1)
 #define SIG_ERR  ((void (*)(int))-1)