mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
syscall/ and related: Fix an error found in build testing. Inconsistent conditional compilation led to link errors in certain configurations.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
#include <spawn.h>
|
||||
#include <nuttx/spawn.h>
|
||||
|
||||
#if defined(CONFIG_BUILD_PROTECTED) && defined(CONFIG_LIB_SYSCALL)
|
||||
#ifdef CONFIG_BUILD_PROTECTED
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@@ -91,4 +91,4 @@ int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry,
|
||||
return nx_task_spawn(&parms);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_BUILD_PROTECTED && CONFIG_LIB_SYSCALL */
|
||||
#endif /* CONFIG_BUILD_PROTECTED */
|
||||
|
||||
Reference in New Issue
Block a user