]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More ifdefs
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 24 Sep 2017 15:09:39 +0000 (23:09 +0800)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 24 Sep 2017 15:09:39 +0000 (23:09 +0800)
src/lib/util/event.c

index 8d6d65ba7d0d045169d23a4a8f05073cd5b8a644..fed7555bd01c389529cbd43abf83676f75f381a5 100644 (file)
@@ -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;
                        }