Don't use SIGRTMAX, as it is not required to be a compile-time constant.

This commit is contained in:
Christopher Kohlhoff 2011-03-03 15:52:09 +11:00
parent 8cd35681d7
commit f52dddfd5c

View File

@ -38,8 +38,6 @@ namespace detail {
#if defined(NSIG) && (NSIG > 0)
enum { max_signal_number = NSIG };
#elif defined(SIGRTMAX)
enum { max_signal_number = SIGRTMAX + 1 };
#else
enum { max_signal_number = 128 };
#endif