]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
it is HAVE_MMAP not MMAP 1.4
authorTobias Oetiker <tobi@oetiker.ch>
Fri, 27 Feb 2015 06:48:41 +0000 (07:48 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Fri, 27 Feb 2015 06:48:41 +0000 (07:48 +0100)
src/rrd_hw.c

index f63058aa9981f002662c2851e021767b486823b5..7fc63235b20109c0a3507083451d088e5b2a15e3 100644 (file)
@@ -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) +