Commit 01a0df86 authored by rswindell's avatar rswindell
Browse files

Moved fileoff_t and filelen_t typedefs to gen_defs.h (used in more places

than just filewrap.c or it's consumers).
parent c4bc6778
......@@ -54,16 +54,6 @@
#include <fcntl.h> /* O_RDONLY, O_CREAT, etc. */
/************/
/* Typedefs */
/************/
#if defined(XPDEV_LARGE_FILE_SUPPORT)
typedef int64_t fileoff_t, filelen_t;
#else
typedef int32_t fileoff_t, filelen_t;
#endif
/**********/
/* Macros */
/**********/
......
......@@ -171,6 +171,12 @@ typedef unsigned long long int uint64_t;
/* Legacy 32-bit time_t */
typedef int32_t time32_t;
#if defined(XPDEV_LARGE_FILE_SUPPORT)
typedef int64_t fileoff_t, filelen_t;
#else
typedef long fileoff_t, filelen_t;
#endif
/* Windows Types */
#ifndef BYTE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment