From 871c59dc314beeb0e2106fceea6ec80e2715b69f Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Tue, 24 May 2022 15:14:45 +0300 Subject: [PATCH] nxwm: Fix warning about on_exit() dependency --- include/graphics/nxwm/nxwmconfig.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 /**