diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2013-11-18 09:53:46 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2013-11-18 09:53:46 +0000 |
commit | c7091059138c4a30b18d84344d9dca460f7e50f6 (patch) | |
tree | 3b07888858a651fe6513d043ec34876cc0eb3aac /newlib/libc | |
parent | 2b2290caba9fa19a80c5b4e79881768fc45bac77 (diff) | |
download | newlib-c7091059138c4a30b18d84344d9dca460f7e50f6.zip newlib-c7091059138c4a30b18d84344d9dca460f7e50f6.tar.gz newlib-c7091059138c4a30b18d84344d9dca460f7e50f6.tar.bz2 |
[ARM] Provide ftruncate() and truncate() stubs.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index f1aacfa..0667080 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -222,7 +222,7 @@ _READ_WRITE_RETURN_TYPE _EXFUN(_write, (int __fd, const void *__buf, size_t __nb int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] )); #endif -#if defined(__CYGWIN__) || defined(__rtems__) || defined(__sh__) || defined(__SPU__) +#if defined(__CYGWIN__) || defined(__rtems__) || defined (__arm__) || defined(__sh__) || defined(__SPU__) #if !defined(__INSIDE_CYGWIN__) int _EXFUN(ftruncate, (int __fd, off_t __length)); int _EXFUN(truncate, (const char *, off_t __length)); |