diff options
Diffstat (limited to 'lib/sys_types.in.h')
-rw-r--r-- | lib/sys_types.in.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sys_types.in.h b/lib/sys_types.in.h index 0a0ccc3c..4eb2e926 100644 --- a/lib/sys_types.in.h +++ b/lib/sys_types.in.h @@ -60,6 +60,15 @@ # define _GL_WINDOWS_64_BIT_OFF_T 1 #endif +/* Define the off64_t type. */ +#if !@HAVE_OFF64_T@ +# if !GNULIB_defined_off64_t +/* Define off64_t to int64_t always. */ +typedef long long off64_t; +# define GNULIB_defined_off64_t 1 +# endif +#endif + /* Override dev_t and ino_t if distinguishable inodes support is requested on native Windows. */ #if @WINDOWS_STAT_INODES@ |