diff options
author | Simon Howard | 2009-03-12 18:55:27 +0000 |
---|---|---|
committer | Simon Howard | 2009-03-12 18:55:27 +0000 |
commit | 535c64b336ce59b4e18819544cd2a1129ae97c61 (patch) | |
tree | e98b31f14b8e43f7a5538e3278c67f5bc350d86a | |
parent | f9c51c1b5c78234a138f9f44c261990336b445e7 (diff) | |
download | chocolate-doom-535c64b336ce59b4e18819544cd2a1129ae97c61.tar.gz chocolate-doom-535c64b336ce59b4e18819544cd2a1129ae97c61.tar.bz2 chocolate-doom-535c64b336ce59b4e18819544cd2a1129ae97c61.zip |
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
-rw-r--r-- | src/w_file_win32.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |