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

index 944c8af53ffeb2f694e959008863f6d0f833bc85..ac726be8ee6b9274a953047b6a154343783633f9 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) +