summaryrefslogtreecommitdiff
path: root/winsup/cygwin/include/cygwin/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/cygwin/types.h')
-rw-r--r--winsup/cygwin/include/cygwin/types.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h
index 8a26ef0a4fb..0afa28509f3 100644
--- a/winsup/cygwin/include/cygwin/types.h
+++ b/winsup/cygwin/include/cygwin/types.h
@@ -90,9 +90,20 @@ typedef __gid16_t gid_t;
#ifndef __ino_t_defined
#define __ino_t_defined
-typedef unsigned long ino_t;
+typedef unsigned long __ino32_t;
+typedef unsigned long long __ino64_t;
+#ifdef __CYGWIN_USE_BIG_TYPES__
+typedef __ino64_t ino_t;
+#else
+typedef __ino32_t ino_t;
+#endif
#endif /*__ino_t_defined*/
+#ifndef __key_t_defined
+#define __key_t_defined
+typedef long key_t;
+#endif /* __key_t_defined */
+
#ifndef __BIT_TYPES_DEFINED
#define __BIT_TYPES_DEFINED__ 1