Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-04-27 15:39:57 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-04-27 15:40:27 +0300
commit49c051c13352cd2fd2131a379d51a4a63c09283e (patch)
tree5213e35a0ee9ca8f6058bdf700377101a758101c
parenta3e0771edaeefe88a97258c610e4405f01c28cd4 (diff)
Define __s64 and __u64cygwin-2_0_0-release
* include/asm/types.h: Add __s64 and __u64 types. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/asm/types.h6
2 files changed, 9 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 592344286..43bbbc1ae 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-27 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/asm/types.h: Add __s64 and __u64 types.
+
2015-04-23 Corinna Vinschen <corinna@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 19cc2ca60..dc51af63a 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 */