From: Stefan Metzmacher Date: Fri, 30 Nov 2012 08:39:18 +0000 (+0100) Subject: tevent: define TEVENT_NUM_SIGNALS based on SIGRTMAX X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=9a92ca3b637d41709ded56a5161ff9ff7505f677 tevent: define TEVENT_NUM_SIGNALS based on SIGRTMAX On FreeBSD SIGRTMIN is 65... Signed-off-by: Stefan Metzmacher --- diff --git a/lib/tevent/tevent_signal.c b/lib/tevent/tevent_signal.c index 77ef7b0599a5..6d746fc7eccc 100644 --- a/lib/tevent/tevent_signal.c +++ b/lib/tevent/tevent_signal.c @@ -30,7 +30,11 @@ #include "tevent_internal.h" #include "tevent_util.h" +#ifdef SIGRTMAX +#define TEVENT_NUM_SIGNALS (SIGRTMAX + 1) +#else #define TEVENT_NUM_SIGNALS 64 +#endif /* maximum number of SA_SIGINFO signals to hold in the queue. NB. This *MUST* be a power of 2, in order for the ring buffer