diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 80758939f..7d381f3e2 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2000-12-04 Joel Sherrill + + * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS. + 2000-12-04 Joel Sherrill * libc/include/ieeefp.h: Added entries for OpenCores CPUs. 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