ndk: <signal.h>: Increase _NSIG definition to 64

This is a minor update to this NDK header to better match the upstream definition.

Change-Id: I7b7e84b65f7a45d6395ba9831ee72ad120f989db
This commit is contained in:
David 'Digit' Turner
2012-01-09 14:18:32 +01:00
parent aa566ea256
commit fed3dfbb08
2 changed files with 16 additions and 10 deletions

View File

@@ -42,12 +42,15 @@ __BEGIN_DECLS
typedef int sig_atomic_t; typedef int sig_atomic_t;
/* crepy NIG / _NSIG handling, just to be safe */ /* _NSIG is used by the SIGRTMAX definition under <asm/signal.h>, however
#ifndef NSIG * its definition is part of a #if __KERNEL__ .. #endif block in the original
# define NSIG _NSIG * kernel headers and is thus not part of our cleaned-up versions.
#endif *
* Looking at the current kernel sources, it is defined as 64 for all
* architectures except for the 'mips' one which set it to 128.
*/
#ifndef _NSIG #ifndef _NSIG
# define _NSIG NSIG # define _NSIG 64
#endif #endif
extern const char * const sys_siglist[]; extern const char * const sys_siglist[];

View File

@@ -42,12 +42,15 @@ __BEGIN_DECLS
typedef int sig_atomic_t; typedef int sig_atomic_t;
/* crepy NIG / _NSIG handling, just to be safe */ /* _NSIG is used by the SIGRTMAX definition under <asm/signal.h>, however
#ifndef NSIG * its definition is part of a #if __KERNEL__ .. #endif block in the original
# define NSIG _NSIG * kernel headers and is thus not part of our cleaned-up versions.
#endif *
* Looking at the current kernel sources, it is defined as 64 for all
* architectures except for the 'mips' one which set it to 128.
*/
#ifndef _NSIG #ifndef _NSIG
# define _NSIG NSIG # define _NSIG 64
#endif #endif
extern const char * const sys_siglist[]; extern const char * const sys_siglist[];