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