diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/liolibext.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/liolibext.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/liolibext.c b/Build/source/texk/web2c/luatexdir/lua/liolibext.c index 27facfedeec..80ca4955a60 100644 --- a/Build/source/texk/web2c/luatexdir/lua/liolibext.c +++ b/Build/source/texk/web2c/luatexdir/lua/liolibext.c @@ -78,6 +78,12 @@ static const char _svn_version[] = #define l_ftell(f) _ftelli64(f) #define l_seeknum __int64 +#elif defined(__MINGW32__) + +#define l_fseek(f,o,w) fseeko64(f,o,w) +#define l_ftell(f) ftello64(f) +#define l_seeknum int64_t + #else #define l_fseek(f,o,w) fseek(f,o,w) @@ -86,13 +92,6 @@ static const char _svn_version[] = #endif -/* Large File Support under Windows 32bit Windows 64 bit */ -#if defined(__MINGW32__) -#define l_fseek(f,o,w) fseeko64(f,o,w) -#define l_ftell(f) ftello64(f) -#define l_seeknum int64_t -#endif - #define IO_PREFIX "_IO_" #define IO_INPUT (IO_PREFIX "input") #define IO_OUTPUT (IO_PREFIX "output") |