From ddf7eefbdd2ff77c473534dfa89c3fe12c206d67 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 15 Jan 2010 11:32:35 -0500 Subject: [PATCH] Add SIGURCU backward compatibility Signed-off-by: Mathieu Desnoyers --- urcu-static.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/urcu-static.h b/urcu-static.h index e1d0704..5a75dde 100644 --- a/urcu-static.h +++ b/urcu-static.h @@ -77,7 +77,12 @@ extern "C" { /* * The signal number used by the RCU library can be overridden with * -DSIGRCU= when compiling the library. + * Provide backward compatibility for liburcu 0.3.x SIGURCU. */ +#ifdef SIGURCU +#define SIGRCU SIGURCU +#endif + #ifndef SIGRCU #define SIGRCU SIGUSR1 #endif -- 2.34.1