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/stdlib/system.c')
-rw-r--r--newlib/libc/stdlib/system.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c
index ad2217743..73c0540d9 100644
--- a/newlib/libc/stdlib/system.c
+++ b/newlib/libc/stdlib/system.c
@@ -69,10 +69,7 @@ _system_r (ptr, s)
struct _reent *ptr;
_CONST char *s;
{
-#if defined(HAVE_SYSTEM)
- return _system (s);
- ptr = ptr;
-#elif defined(NO_EXEC)
+#ifdef NO_EXEC
if (s == NULL)
return 0;
errno = ENOSYS;