summaryrefslogtreecommitdiff
path: root/nuttx/libc/sched/task_startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/sched/task_startup.c')
-rw-r--r--nuttx/libc/sched/task_startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/libc/sched/task_startup.c b/nuttx/libc/sched/task_startup.c
index 72cffbaaa..8c81c0b50 100644
--- a/nuttx/libc/sched/task_startup.c
+++ b/nuttx/libc/sched/task_startup.c
@@ -44,7 +44,7 @@
#include <nuttx/userspace.h>
-#if defined(CONFIG_NUTTX_KERNEL) && !defined(__KERNEL__)
+#if defined(CONFIG_BUILD_PROTECTED) && !defined(__KERNEL__)
/****************************************************************************
* Pre-processor Definitions
@@ -101,4 +101,4 @@ void task_startup(main_t entrypt, int argc, FAR char *argv[])
exit(entrypt(argc, argv));
}
-#endif /* CONFIG_NUTTX_KERNEL && !__KERNEL__ */
+#endif /* CONFIG_BUILD_PROTECTED && !__KERNEL__ */