mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 07:39:21 +00:00
* 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user