aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2013-11-18 10:04:56 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2013-11-18 10:04:56 +0000
commit7c62befe16da50189ee807356b84822bdc5f42e6 (patch)
tree905e304fc1fe13cc18e3e5af913324a16e0bfd49 /newlib/libc
parentc7091059138c4a30b18d84344d9dca460f7e50f6 (diff)
downloadnewlib-7c62befe16da50189ee807356b84822bdc5f42e6.zip
newlib-7c62befe16da50189ee807356b84822bdc5f42e6.tar.gz
newlib-7c62befe16da50189ee807356b84822bdc5f42e6.tar.bz2
[AArch64] Provide ftruncate() and truncate() stubs.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/sys/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 0667080..1312332 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 (__arm__) || defined(__sh__) || defined(__SPU__)
+#if defined(__CYGWIN__) || defined(__rtems__) || defined(__aarch64__) || 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));