From 13707ae93318b8f3e9967c1a8ab7714b665a0177 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 20 Mar 2016 11:02:13 -0500 Subject: epiphany/machine/stdlib.h: Disable epiphany unique random wrappers for RTEMS --- newlib/libc/machine/epiphany/machine/stdlib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc') diff --git a/newlib/libc/machine/epiphany/machine/stdlib.h b/newlib/libc/machine/epiphany/machine/stdlib.h index 95b4063b0..7ede4dd5c 100644 --- a/newlib/libc/machine/epiphany/machine/stdlib.h +++ b/newlib/libc/machine/epiphany/machine/stdlib.h @@ -1,3 +1,4 @@ +#ifndef __rtems__ static __inline__ long int random (void) { @@ -13,3 +14,4 @@ srandom (unsigned int seed) srand (seed); } +#endif -- cgit v1.2.3