* Reverted to the most portable version.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1188 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-11-07 08:58:29 +00:00
parent 6985fce321
commit 649248c909
+4 -4
View File
@@ -44,11 +44,11 @@ class SignalHandler {
public:
typedef sigc::slot0<void> Slot;
#ifdef SIGRTMAX
static const unsigned int HIGHEST_SIGNAL = SIGRTMAX;
#else
#ifdef NSIG
static const unsigned int HIGHEST_SIGNAL = NSIG;
#else
// Let's be on the safe side.
static const unsigned int HIGHEST_SIGNAL = 64;
static const unsigned int HIGHEST_SIGNAL = 32;
#endif
static void set_default(unsigned int signum);