This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 871c59dc3 nxwm: Fix warning about on_exit() dependency
871c59dc3 is described below

commit 871c59dc314beeb0e2106fceea6ec80e2715b69f
Author: Ville Juven <ville.ju...@unikie.com>
AuthorDate: Tue May 24 15:14:45 2022 +0300

    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
 
 /**

Reply via email to