Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-20 19:02:13 +0300
committerJoel Sherrill <joel@rtems.org>2016-03-22 17:47:00 +0300
commit13707ae93318b8f3e9967c1a8ab7714b665a0177 (patch)
treef18b33bd3f1ac4b62402648f6fadc4943be3410a /newlib/libc
parent4db48d17ebac131585d036ccf11eec935e4cc126 (diff)
epiphany/machine/stdlib.h: Disable epiphany unique random wrappers for RTEMS
Diffstat (limited to 'newlib/libc')
-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