From 17528a6aa934162c222e98fba79079e7996fd77f Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Sat, 24 Nov 2018 14:48:56 -0500 Subject: [PATCH] LFS fixup for PK3 support --- src/w_wad.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/w_wad.c b/src/w_wad.c index 57bde14c..1530a4a0 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -26,6 +26,18 @@ #include "lzf.h" #endif +#ifndef _FILE_OFFSET_BITS +#define _FILE_OFFSET_BITS 0 +#endif + +#ifndef _LARGEFILE64_SOURCE +#define _LARGEFILE64_SOURCE +#endif + +#ifndef _LFS64_LARGEFILE +#define _LFS64_LARGEFILE +#endif + #include "zlib.h" #include "doomdef.h"