X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=rculfstack.c;h=df5c54703820461766b6cc18bf7f961812cad8b7;hp=cf5711e10f4b53ec6d51580756f4b022e8784962;hb=a4922ed92bea8e5552a3e66b7dd7b4721b754c90;hpb=4157e1ac43033c8b3ef5405b9c01e8311b2454ca diff --git a/rculfstack.c b/rculfstack.c index cf5711e..df5c547 100644 --- a/rculfstack.c +++ b/rculfstack.c @@ -20,9 +20,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#undef _LGPL_SOURCE +/* Remove deprecation warnings from LGPL wrapper build. */ +#define CDS_LFS_RCU_DEPRECATED + /* 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" /*