Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/posix/execl.c')
-rw-r--r--newlib/libc/posix/execl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/posix/execl.c b/newlib/libc/posix/execl.c
index 6acbe52ed..ebb97fb9b 100644
--- a/newlib/libc/posix/execl.c
+++ b/newlib/libc/posix/execl.c
@@ -1,3 +1,5 @@
+#ifndef _NO_EXECVE
+
/* execl.c */
/* This and the other exec*.c files in this directory require
@@ -47,3 +49,4 @@ _DEFUN(execl, (path, arg0, va_alist),
return _execve (path, (char * _CONST *) argv, *p_environ);
}
+#endif /* !_NO_EXECVE */