From 55e03f41b97de73b91a2e10643eb1cf782776b07 Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Fri, 27 Feb 2015 07:48:12 +0100 Subject: [PATCH] it is HAVE_MMAP not MMAP --- src/rrd_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_hw.c b/src/rrd_hw.c index 944c8af5..ac726be8 100644 --- a/src/rrd_hw.c +++ b/src/rrd_hw.c @@ -278,7 +278,7 @@ int apply_smoother( baseline[j]; } /* if we are not running on mmap, lets write stuff to disk now */ -#ifndef MMAP +#ifndef HAVE_MMAP /* flush cdp to disk */ if (rrd_seek(rrd_file, sizeof(stat_head_t) + rrd->stat_head->ds_cnt * sizeof(ds_def_t) + -- 2.47.2