From: Arran Cudbard-Bell Date: Sun, 24 Sep 2017 15:09:39 +0000 (+0800) Subject: More ifdefs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18621b0dccbbcbb2e54d77658e854745fe5b16a1;p=thirdparty%2Ffreeradius-server.git More ifdefs --- diff --git a/src/lib/util/event.c b/src/lib/util/event.c index 8d6d65ba7d0..fed7555bd01 100644 --- a/src/lib/util/event.c +++ b/src/lib/util/event.c @@ -1484,14 +1484,15 @@ service: case NOTE_RENAME: ef->funcs.vnode.rename(el, ef->fd, flags, ef->uctx); break; - +#ifdef NOTE_REVOKE case NOTE_REVOKE: ef->funcs.vnode.revoke(el, ef->fd, flags, ef->uctx); break; - +#endif +#ifdef NOTE_FUNLOCK case NOTE_FUNLOCK: ef->funcs.vnode.funlock(el, ef->fd, flags, ef->uctx); - +#endif default: if (unlikely(!fr_cond_assert(false))) break; }