summaryrefslogtreecommitdiff
path: root/src/im_sysfile_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/im_sysfile_win32.cpp')
-rw-r--r--src/im_sysfile_win32.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/im_sysfile_win32.cpp b/src/im_sysfile_win32.cpp
index 14e7c40..1daf85b 100644
--- a/src/im_sysfile_win32.cpp
+++ b/src/im_sysfile_win32.cpp
@@ -2,7 +2,7 @@
* \brief System Dependent Binary File Access.
*
* See Copyright Notice in im_lib.h
- * $Id: im_sysfile_win32.cpp,v 1.1 2008/10/17 06:10:16 scuri Exp $
+ * $Id: im_sysfile_win32.cpp,v 1.2 2009/10/01 16:12:24 scuri Exp $
*/
#include <windows.h>
@@ -15,6 +15,11 @@
#include "im_util.h"
#include "im_binfile.h"
+/* not defined in VC6 */
+#ifndef INVALID_SET_FILE_POINTER
+#define INVALID_SET_FILE_POINTER ((DWORD)-1)
+#endif
+
class imBinSystemFile: public imBinFileBase
{
protected: