summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-20 11:02:13 -0500
committerJoel Sherrill <joel@rtems.org>2016-03-22 09:47:00 -0500
commit13707ae93318b8f3e9967c1a8ab7714b665a0177 (patch)
treef18b33bd3f1ac4b62402648f6fadc4943be3410a
parent4db48d17ebac131585d036ccf11eec935e4cc126 (diff)
downloadcygnal-13707ae93318b8f3e9967c1a8ab7714b665a0177.tar.gz
cygnal-13707ae93318b8f3e9967c1a8ab7714b665a0177.tar.bz2
cygnal-13707ae93318b8f3e9967c1a8ab7714b665a0177.zip
epiphany/machine/stdlib.h: Disable epiphany unique random wrappers for RTEMS
-rw-r--r--newlib/libc/machine/epiphany/machine/stdlib.h2
1 files changed, 2 insertions, 0 deletions
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