X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=rculfqueue.c;h=09b858791d8a8babc0bff46741e188b423fd23ea;hb=6e5f88cf94a225b155719046d87bfd32ba47e06a;hp=09ba9cf41fd8cde6f0cc58becba35066c95fada1;hpb=e0c7c3eb892ecbba34e1ff8035bcdd55b502b37a;p=urcu.git diff --git a/rculfqueue.c b/rculfqueue.c index 09ba9cf..09b8587 100644 --- a/rculfqueue.c +++ b/rculfqueue.c @@ -21,8 +21,14 @@ */ #define _LGPL_SOURCE -/* Use the urcu symbols to select the appropriate rcu flavor at link time */ -#include "urcu.h" + +#ifdef RCU_QSBR +# include "urcu-qsbr.h" +#elif defined(RCU_BP) +# include "urcu-bp.h" +#else +# include "urcu.h" +#endif #undef _LGPL_SOURCE /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */