aboutsummaryrefslogtreecommitdiffstats
path: root/community/ceph/44-signal_handler.patch
blob: 89631f28f6ec40548a2f160942e168d098ae0fca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Nurp a/src/global/signal_handler.h b/src/global/signal_handler.h
--- a/src/global/signal_handler.h	2021-03-31 11:49:15.628572489 +0100
+++ b/src/global/signal_handler.h	2021-03-31 11:51:00.556082907 +0100
@@ -20,9 +20,9 @@
 
 typedef void (*signal_handler_t)(int);
 
-#ifdef HAVE_SIGDESCR_NP
+#if defined (HAVE_SIGDESCR_NP)
 # define sig_str(signum) sigdescr_np(signum)
-#elif HAVE_REENTRANT_STRSIGNAL
+#elif defined (HAVE_REENTRANT_STRSIGNAL)
 # define sig_str(signum) strsignal(signum)
 #else
 # define sig_str(signum) sys_siglist[signum]