aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-08-03 13:41:35 +0200
committerCorinna Vinschen <corinna@vinschen.de>2022-08-03 13:41:35 +0200
commit2902b3a09e0a45c4971b59f78ab175b71b3c755e (patch)
tree0bdbab63d1093fd60583310f02ba386e0b3ec3e1 /newlib/libc/include
parent8b502d863500149f4e86497714f0462e788f2f1e (diff)
downloadnewlib-2902b3a09e0a45c4971b59f78ab175b71b3c755e.zip
newlib-2902b3a09e0a45c4971b59f78ab175b71b3c755e.tar.gz
newlib-2902b3a09e0a45c4971b59f78ab175b71b3c755e.tar.bz2
Cygwin: drop requirement to build newlib's stdio64
Given that 64 bit Cygwin defines all file access types (off_t, fpos_t, and derived types) as 64 bit anyway, there's no reason left to rely on the stdio64 part of newlib. Use base functions and base types. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/stdio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h
index c75e481..ea4ddf3 100644
--- a/newlib/libc/include/stdio.h
+++ b/newlib/libc/include/stdio.h
@@ -67,14 +67,10 @@ typedef __FILE FILE;
# define __FILE_defined
#endif
-#ifdef __CYGWIN__
-typedef _fpos64_t fpos_t;
-#else
typedef _fpos_t fpos_t;
#ifdef __LARGE64_FILES
typedef _fpos64_t fpos64_t;
#endif
-#endif /* !__CYGWIN__ */
#ifndef _OFF_T_DECLARED
typedef __off_t off_t;