From f52dddfd5cda0d961263f559d89088fa14df5a5a Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Thu, 3 Mar 2011 15:52:09 +1100 Subject: [PATCH] Don't use SIGRTMAX, as it is not required to be a compile-time constant. --- asio/include/asio/detail/signal_set_service.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/asio/include/asio/detail/signal_set_service.hpp b/asio/include/asio/detail/signal_set_service.hpp index b74e88d0..7fc477e6 100644 --- a/asio/include/asio/detail/signal_set_service.hpp +++ b/asio/include/asio/detail/signal_set_service.hpp @@ -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