git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7669
d7cf8633-e32d-0410-b094-
e92efae38249
# define O_NONBLOCK 0
#endif
+// largefile support for Win32
+#ifdef WIN32
+# define lseek _lseeki64
+#endif
/*
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