summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-29 11:11:48 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-29 11:11:48 -0600
commitf3ce29aa9b591ff1b6a697484528f7340580ace7 (patch)
tree69b85fc081c232b5ed806b06e8d0f750b42cbdea /NxWidgets/libnxwidgets/include
parent513671256fe287033b8874d352fdf34bf6a14bea (diff)
downloadnuttx-f3ce29aa9b591ff1b6a697484528f7340580ace7.tar.gz
nuttx-f3ce29aa9b591ff1b6a697484528f7340580ace7.tar.bz2
nuttx-f3ce29aa9b591ff1b6a697484528f7340580ace7.zip
Add nx_start() to simplify starting the NX server from within the RTOS
Diffstat (limited to 'NxWidgets/libnxwidgets/include')
-rw-r--r--NxWidgets/libnxwidgets/include/cnxserver.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/NxWidgets/libnxwidgets/include/cnxserver.hxx b/NxWidgets/libnxwidgets/include/cnxserver.hxx
index c6ca21bfc..f70dbdbdb 100644
--- a/NxWidgets/libnxwidgets/include/cnxserver.hxx
+++ b/NxWidgets/libnxwidgets/include/cnxserver.hxx
@@ -95,7 +95,7 @@ namespace NXWidgets
* serializes the multi-threaded accesses to the display.
*/
-#ifdef CONFIG_NX_MULTIUSER
+#if defined(CONFIG_NX_MULTIUSER) && defined(CONFIG_NXWIDGET_SERVERINIT)
static int server(int argc, char *argv[]);
#endif