summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include/nxwmconfig.hxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-15 00:45:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-15 00:45:14 +0000
commit1ac9219148610878491a20d15c87476451941eee (patch)
tree4692ee907021a755c1a5f3db5fd13e0d9712a2f7 /NxWidgets/nxwm/include/nxwmconfig.hxx
parent5d5fb0b5646aed4cb074eb317fc09170645c7a3f (diff)
downloadnuttx-1ac9219148610878491a20d15c87476451941eee.tar.gz
nuttx-1ac9219148610878491a20d15c87476451941eee.tar.bz2
nuttx-1ac9219148610878491a20d15c87476451941eee.zip
Fix several compiler errors that occur when CONFIG_SCHED_ONEXIT is enabled; on_exit is now used in NxWM::NxConsole to close the window with the NSH session exits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4738 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include/nxwmconfig.hxx')
-rw-r--r--NxWidgets/nxwm/include/nxwmconfig.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/include/nxwmconfig.hxx b/NxWidgets/nxwm/include/nxwmconfig.hxx
index 88c2ea8db..34721d777 100644
--- a/NxWidgets/nxwm/include/nxwmconfig.hxx
+++ b/NxWidgets/nxwm/include/nxwmconfig.hxx
@@ -58,6 +58,7 @@
* CONFIG_NX : NX must enabled
* CONFIG_NX_MULTIUSER=y : NX must be configured in multiuse mode
* CONFIG_NXCONSOLE=y : For NxConsole support
+ * CONFIG_SCHED_ONEXIT : Support for on_exit()
*
* General settings:
*
@@ -91,6 +92,16 @@
#endif
/**
+ * on_exit() support is (probably) required. on_exit() is the normal
+ * mechanism used by NxWM applications to clean-up on a application task
+ * exit.
+ */
+
+#ifndef CONFIG_SCHED_ONEXIT
+# warning "on_exit() support may be needed (CONFIG_SCHED_ONEXIT)"
+#endif
+
+/**
* Default font ID
*/