This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
system.c patch
- To: newlib at sources dot redhat dot com
- Subject: system.c patch
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Fri, 01 Dec 2000 08:01:56 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
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;