Add SIGURCU backward compatibility
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 15 Jan 2010 16:32:35 +0000 (11:32 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 15 Jan 2010 16:32:35 +0000 (11:32 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu-static.h

index e1d0704d1af54cad91ca5c0295f00d92a9cabece..5a75dde18630a84908f82b3096cb166a875b8ae6 100644 (file)
@@ -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
This page took 0.02513 seconds and 4 git commands to generate.