system.c patch

Joel Sherrill joel.sherrill@OARcorp.com
Fri Dec 1 06:22:00 GMT 2000


2000-12-01      Joel Sherrill <joel@OARcorp.com>

        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985
Index: newlib/libc/stdlib/system.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdlib/system.c,v
retrieving revision 1.3
diff -u -r1.3 system.c
--- system.c	2000/08/25 17:39:06	1.3
+++ system.c	2000/12/01 13:20:18
@@ -106,7 +106,7 @@
 
 #endif
 
-#if defined (unix) && !defined (__CYGWIN__)
+#if defined (unix) && !defined (__CYGWIN__) && !defined(__rtems__)
 static int
 do_system (ptr, s)
      struct _reent *ptr;


More information about the Newlib mailing list