From: Tobias Oetiker Date: Fri, 27 Feb 2015 06:48:41 +0000 (+0100) Subject: it is HAVE_MMAP not MMAP X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2F1.4;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 f63058aa..7fc63235 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) +