diff --git a/include/graphics/nxwm/nxwmconfig.hxx b/include/graphics/nxwm/nxwmconfig.hxx index ac67a2407..ac91fde7c 100644 --- a/include/graphics/nxwm/nxwmconfig.hxx +++ b/include/graphics/nxwm/nxwmconfig.hxx @@ -79,8 +79,8 @@ * exit. */ -#ifndef CONFIG_SCHED_ONEXIT -# warning "on_exit() support may be needed (CONFIG_SCHED_ONEXIT)" +#if CONFIG_LIBC_MAX_EXITFUNS == 0 +# warning "on_exit() support may be needed (CONFIG_LIBC_MAX_EXITFUNS)" #endif /**