In the includes we define SIGRTMIN to 32 if it's not defined already. This
value could be fairly low and it's better to use NSIG(number of defined
signals) as the lower mark for the available signals.
We have similar defenition in the source3/smbd/aio.c, which can be safely
removed, as it comes from includes.h then.
With regards,
Timur Bakeyev.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
#endif
#ifndef SIGRTMIN
-#define SIGRTMIN 32
+#define SIGRTMIN NSIG
#endif
#ifndef MAP_FILE
/* The signal we'll use to signify aio done. */
#ifndef RT_SIGNAL_AIO
-#ifndef SIGRTMIN
-#define SIGRTMIN NSIG
-#endif
#define RT_SIGNAL_AIO (SIGRTMIN+3)
#endif