From f5e7c1244ba605e4f26d02a1402af0d6f403875d Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 4 Dec 2000 18:29:29 +0000 Subject: 2000-12-04 Joel Sherrill * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS. --- newlib/libc/stdlib/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/stdlib/system.c') diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c index 770996e57..cc12411e3 100644 --- a/newlib/libc/stdlib/system.c +++ b/newlib/libc/stdlib/system.c @@ -106,7 +106,7 @@ system (s) #endif -#if defined (unix) && !defined (__CYGWIN__) +#if defined (unix) && !defined (__CYGWIN__) && !defined(__rtems__) extern char **environ; /* Only deal with a pointer to environ, to work around subtle bugs with shared -- cgit v1.2.3