This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

system.c patch




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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]