diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-20 19:02:13 +0300 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-03-22 17:47:00 +0300 |
commit | 13707ae93318b8f3e9967c1a8ab7714b665a0177 (patch) | |
tree | f18b33bd3f1ac4b62402648f6fadc4943be3410a /newlib/libc | |
parent | 4db48d17ebac131585d036ccf11eec935e4cc126 (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.h | 2 |
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 |