https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9d2727e9a3355f1d48ff3ccc28c453d0bc3ca435
commit 9d2727e9a3355f1d48ff3ccc28c453d0bc3ca435 Author: Corinna Vinschen <cori...@vinschen.de> Date: Mon Apr 27 14:39:57 2015 +0200 Define __s64 and __u64 * include/asm/types.h: Add __s64 and __u64 types. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> Diff: --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/asm/types.h | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7b61fb2..07ec831 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2015-04-27 Corinna Vinschen <cori...@vinschen.de> + + * include/asm/types.h: Add __s64 and __u64 types. + 2015-04-23 Corinna Vinschen <cori...@vinschen.de> * path.cc (path_conv::set_nt_native_path): New function. diff --git a/winsup/cygwin/include/asm/types.h b/winsup/cygwin/include/asm/types.h index 19cc2ca..dc51af6 100644 --- a/winsup/cygwin/include/asm/types.h +++ b/winsup/cygwin/include/asm/types.h @@ -1,6 +1,6 @@ /* asm/types.h - Copyright 1998, 2000, 2001 Red Hat, Inc. + Copyright 1998, 2000, 2001, 2015 Red Hat, Inc. This file is part of Cygwin. @@ -20,4 +20,8 @@ typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; +/* As on Linux. Works for both platforms, i686 and x86_64. */ +typedef __signed__ long long __s64; +typedef unsigned long long __u64; + #endif /* _ASM_TYPES_H */