From 535c64b336ce59b4e18819544cd2a1129ae97c61 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 12 Mar 2009 18:55:27 +0000 Subject: Define INVALID_SET_FILE_POINTER if it is not defined, to fix compilation under MSVC6 (thanks Quasar) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1466 --- src/w_file_win32.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/w_file_win32.c b/src/w_file_win32.c index 05d3c445..d5e60579 100644 --- a/src/w_file_win32.c +++ b/src/w_file_win32.c @@ -35,6 +35,12 @@ #include "w_file.h" #include "z_zone.h" +// This constant doesn't exist in VC6: + +#ifndef INVALID_SET_FILE_POINTER +#define INVALID_SET_FILE_POINTER 0xffffffff +#endif + typedef struct { wad_file_t wad; -- cgit v1.2.3