ref: 535c64b336ce59b4e18819544cd2a1129ae97c61
parent: f9c51c1b5c78234a138f9f44c261990336b445e7
author: Simon Howard <[email protected]>
date: Thu Mar 12 14:55:27 EDT 2009
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
--- 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;