From: Mathieu Desnoyers Date: Fri, 15 Jan 2010 16:32:35 +0000 (-0500) Subject: Add SIGURCU backward compatibility X-Git-Tag: v0.4.0~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ddf7eefbdd2ff77c473534dfa89c3fe12c206d67;p=userspace-rcu.git Add SIGURCU backward compatibility Signed-off-by: Mathieu Desnoyers --- 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