X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=urcu-static.h;h=5a75dde18630a84908f82b3096cb166a875b8ae6;hb=f02bbafc4513879a545b6b5ad932ea5ff220230d;hp=e1d0704d1af54cad91ca5c0295f00d92a9cabece;hpb=cf5271eed768bea133b1916eca1d1917920e3105;p=userspace-rcu.git 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