Don't use SIGRTMAX, as it is not required to be a compile-time constant.
This commit is contained in:
parent
8cd35681d7
commit
f52dddfd5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user