diff --git a/src/cgroup.c b/src/cgroup.c index 5590a058..be0f16f2 100644 --- a/src/cgroup.c +++ b/src/cgroup.c @@ -287,7 +287,7 @@ static void cgroup_events_cb(uev_t *w, void *arg, int events) cgroup_handle_event(iwp->path, ev->mask); } -#ifdef ENABLE_AUTO_RELOAD +#ifdef AUTO_RELOAD if (conf_any_change()) service_reload_dynamic(); #endif diff --git a/src/conf.c b/src/conf.c index b833ce3b..acd2d094 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1133,7 +1133,7 @@ static void conf_cb(uev_t *w, void *arg, int events) } } -#ifdef ENABLE_AUTO_RELOAD +#ifdef AUTO_RELOAD if (conf_any_change()) service_reload_dynamic(); #endif