Revision: 14594
Author: [email protected]
Date: Sun Apr 11 22:18:12 2010
Log: Prevent errors when building with the --with-large-files option on MinGW
http://code.google.com/p/lusca-cache/source/detail?r=14594

Modified:
 /branches/LUSCA_HEAD/include/squid_mswin.h

=======================================
--- /branches/LUSCA_HEAD/include/squid_mswin.h  Sun Apr 11 04:19:29 2010
+++ /branches/LUSCA_HEAD/include/squid_mswin.h  Sun Apr 11 22:18:12 2010
@@ -175,10 +175,9 @@
 typedef int gid_t;

 #if defined __USE_FILE_OFFSET64
+#include <sys/stat.h>
 #define stat _stati64
-#if defined(_MSC_VER) /* Microsoft C Compiler ONLY */
 #define lseek _lseeki64
-#endif
 #define fstat _fstati64
 #define tell _telli64

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to