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