OSDN Git Service

2000-12-04 Joel Sherrill <joel@OARcorp.com>
authorjjohnstn <jjohnstn>
Mon, 4 Dec 2000 18:29:28 +0000 (18:29 +0000)
committerjjohnstn <jjohnstn>
Mon, 4 Dec 2000 18:29:28 +0000 (18:29 +0000)
        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.

newlib/ChangeLog
newlib/libc/stdlib/system.c

index 8075893..7d381f3 100644 (file)
@@ -1,5 +1,9 @@
 2000-12-04  Joel Sherrill <joel@OARcorp.com>
 
+        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
+
+2000-12-04  Joel Sherrill <joel@OARcorp.com>
+
         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
 
 2000-12-04  Joel Sherrill <joel@OARcorp.com>
index 770996e..cc12411 100644 (file)
@@ -106,7 +106,7 @@ system (s)
 
 #endif
 \f
-#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