]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.h
Win32 largefile support (mostly for capturevideo)
[xonotic/darkplaces.git] / fs.h
diff --git a/fs.h b/fs.h
index 9ed0b5114cf2c22c236758cf586f9221634f8ce0..141886addc386561440add5ae15105e402a26730 100644 (file)
--- a/fs.h
+++ b/fs.h
@@ -31,8 +31,8 @@
 typedef struct qfile_s qfile_t;
 
 #ifdef WIN32
-typedef long fs_offset_t; // 32bit
-//typedef _int64 fs_offset_t; // 64bit (lots of warnings, and lseek/read/write still don't take 64bit on win64)
+//typedef long fs_offset_t; // 32bit
+typedef __int64 fs_offset_t; // 64bit (lots of warnings, and read/write still don't take 64bit on win64)
 #else
 typedef long long fs_offset_t;
 #endif