[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: r3818 - trunk/varnish-cache/bin/varnishd
From: tfheen () projects ! linpro ! no (tfheen at projects ! linpro ! no)
Date: 2009-02-23 15:10:33
Message-ID: 20090223151033.C023A38B95 () projects ! linpro ! no
[Download RAW message or body]
Author: tfheen
Date: 2009-02-23 16:10:33 +0100 (Mon, 23 Feb 2009)
New Revision: 3818
Modified:
trunk/varnish-cache/bin/varnishd/storage_persistent.c
Log:
Add defines for MAP_NOCORE / MAP_NOSYNC so this compiles on Linux
Modified: trunk/varnish-cache/bin/varnishd/storage_persistent.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_persistent.c 2009-02-23 15:01:27 UTC (rev 3817)
+++ trunk/varnish-cache/bin/varnishd/storage_persistent.c 2009-02-23 15:10:33 UTC (rev 3818)
@@ -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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic