aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/posix/execle.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/posix/execle.c')
-rw-r--r--newlib/libc/posix/execle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/posix/execle.c b/newlib/libc/posix/execle.c
index efe204d..2b22036 100644
--- a/newlib/libc/posix/execle.c
+++ b/newlib/libc/posix/execle.c
@@ -1,3 +1,5 @@
+#ifndef _NO_EXECVE
+
/* execle.c */
/* This and the other exec*.c files in this directory require
@@ -44,3 +46,5 @@ _DEFUN(execle, (path, arg0, va_alist),
return _execve (path, (char * _CONST *) argv, (char * _CONST *) envp);
}
+
+#endif /* !_NO_EXECVE */