summaryrefslogtreecommitdiff
path: root/nuttx/include/spawn.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-16 15:37:05 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-16 15:37:05 -0600
commite6416cf311f4fa773a371ea4aa51a46ea99baf7c (patch)
tree25e4d6db338e97593cdaccf5118ec687873f349b /nuttx/include/spawn.h
parent877af73187ac7fc4a75f5f80542274b77b10ae83 (diff)
downloadnuttx-e6416cf311f4fa773a371ea4aa51a46ea99baf7c.tar.gz
nuttx-e6416cf311f4fa773a371ea4aa51a46ea99baf7c.tar.bz2
nuttx-e6416cf311f4fa773a371ea4aa51a46ea99baf7c.zip
First round of changes to get the ELF configuration building again
Diffstat (limited to 'nuttx/include/spawn.h')
-rw-r--r--nuttx/include/spawn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/spawn.h b/nuttx/include/spawn.h
index f994ac51f..e47bf47b2 100644
--- a/nuttx/include/spawn.h
+++ b/nuttx/include/spawn.h
@@ -89,7 +89,7 @@ struct posix_spawnattr_s
sigset_t sigmask; /* Signals to be masked */
#endif
-#ifndef CONFIG_ARCH_ADDRENV
+#ifndef CONFIG_BUILD_KERNEL
/* Used only by task_spawn (non-standard) */
size_t stacksize; /* Task stack size */
@@ -141,7 +141,7 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path,
posix_spawn(pid,path,file_actions,attr,argv,envp)
#endif
-#ifndef CONFIG_ARCH_ADDRENV
+#ifndef CONFIG_BUILD_KERNEL
/* Non-standard task_spawn interface. This function uses the same
* semantics to execute a file in memory at 'entry', giving it the name
* 'name'.