]> err.no Git - varnish/commitdiff
Add defines for MAP_NOCORE / MAP_NOSYNC so this compiles on Linux
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 23 Feb 2009 15:10:33 +0000 (15:10 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 23 Feb 2009 15:10:33 +0000 (15:10 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3818 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/storage_persistent.c

index 2dbdf6071a718c02177066bc96353574d278dc72..c09fcd3ce10b423bfbdecb6d9087c4199220d464 100644 (file)
 
 #include "persistent.h"
 
+#ifndef MAP_NOCORE
+#define MAP_NOCORE 0 /* XXX Linux */
+#endif
+
+#ifndef MAP_NOSYNC
+#define MAP_NOSYNC 0 /* XXX Linux */
+#endif
+
 /* XXX: name confusion with on-media version ? */
 struct smp_seg {
        VTAILQ_ENTRY(smp_seg)   list;