From: Tobias Oetiker Date: Fri, 27 Feb 2015 06:48:12 +0000 (+0100) Subject: it is HAVE_MMAP not MMAP X-Git-Tag: v1.5.0~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F587%2Fhead;p=thirdparty%2Frrdtool-1.x.git it is HAVE_MMAP not MMAP --- 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) +