From: tfheen Date: Mon, 23 Feb 2009 15:10:33 +0000 (+0000) Subject: Add defines for MAP_NOCORE / MAP_NOSYNC so this compiles on Linux X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef6f39477ef4acdcd63bce2f1feb4d1dbb2e3cc;p=varnish Add defines for MAP_NOCORE / MAP_NOSYNC so this compiles on Linux git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3818 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/storage_persistent.c b/varnish-cache/bin/varnishd/storage_persistent.c index 2dbdf607..c09fcd3c 100644 --- a/varnish-cache/bin/varnishd/storage_persistent.c +++ b/varnish-cache/bin/varnishd/storage_persistent.c @@ -49,6 +49,14 @@ #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;