[klibc] [PATCH] fix warning include/signal.h:47:5: warning: "SIGRTMAX" is not defined
Jon Ringle
jon at ringle.org
Thu Jul 16 16:00:14 PDT 2009
---
usr/include/signal.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/usr/include/signal.h b/usr/include/signal.h
index a513282..4ed65bc 100644
--- a/usr/include/signal.h
+++ b/usr/include/signal.h
@@ -44,10 +44,12 @@ typedef int sig_atomic_t;
/* The kernel header files are inconsistent whether or not
SIGRTMAX is inclusive or exclusive. POSIX seems to state that
it's inclusive, however. */
+#ifdef SIGRTMAX
#if SIGRTMAX >= _NSIG
# undef SIGRTMAX
# define SIGRTMAX (_NSIG-1)
#endif
+#endif
__extern const char *const sys_siglist[_NSIG];
__extern const char *const sys_sigabbrev[_NSIG];
More information about the klibc
mailing list