X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=rculfstack.c;h=df5c54703820461766b6cc18bf7f961812cad8b7;hp=f58628ce4ea06f55185fb75682cbc9f6b974ef36;hb=7be759d1adf95b168f09e513232ea26de15e1eaf;hpb=e1a3b81e201ccfd019dae3778bd6ba0bd1e545e4 diff --git a/rculfstack.c b/rculfstack.c index f58628c..df5c547 100644 --- a/rculfstack.c +++ b/rculfstack.c @@ -20,20 +20,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* Use the urcu symbols to select the appropriate rcu flavor at link time */ -#define _LGPL_SOURCE - -#ifdef RCU_QSBR -# include "urcu-qsbr.h" -#elif defined(RCU_BP) -# include "urcu-bp.h" -#else -# include "urcu.h" -#endif +/* Remove deprecation warnings from LGPL wrapper build. */ +#define CDS_LFS_RCU_DEPRECATED -#undef _LGPL_SOURCE /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ +#undef _LGPL_SOURCE #include "urcu/rculfstack.h" +#define _LGPL_SOURCE #include "urcu/static/rculfstack.h" /*