]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Changed _SQUID_MSWIN_ to _SQUID_WINDOWS_ everywhere.\ngetpagesize() is not available...
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 28 Jan 2012 18:18:42 +0000 (19:18 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 28 Jan 2012 18:18:42 +0000 (19:18 +0100)
src/mem.cc

index 4cdc9ddb61239f29432a07b6610576dfd20e81e2..90fc15a91a5899d60552b6215350e95f40d6d575 100644 (file)
@@ -51,6 +51,9 @@
 #endif
 
 /* module globals */
+#if 1 || !HAVE_GETPAGESIZE
+static size_t getpagesize() { return 4096; }
+#endif
 const size_t squidSystemPageSize=getpagesize();
 
 /* local prototypes */