From: Wolfgang Stöggl Date: Tue, 28 Nov 2017 08:18:55 +0000 (+0100) Subject: Remove fdatasync, fsync from rrd_config_bottom.h X-Git-Tag: v1.7.1~86^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F845%2Fhead;p=thirdparty%2Frrdtool-1.x.git Remove fdatasync, fsync from rrd_config_bottom.h - fdatasync() has been removed since RRDtool v1.4.0. See commit: fc968dd - fixes "Can't compile with without fsync and fdatasync" error on systems, where HAVE_FDATASYNC or HAVE_FSYNC are not defined --- diff --git a/src/rrd_config_bottom.h b/src/rrd_config_bottom.h index 5d93f2b1..184eb58a 100644 --- a/src/rrd_config_bottom.h +++ b/src/rrd_config_bottom.h @@ -230,13 +230,5 @@ char *strchr (), *strrchr (); #error "Can't compile without isinf function" #endif -#if (! defined(HAVE_FDATASYNC) && defined(HAVE_FSYNC)) -#define fdatasync fsync -#endif - -#if (!defined(HAVE_FDATASYNC) && !defined(HAVE_FSYNC)) -#error "Can't compile with without fsync and fdatasync" -#endif - #endif /* RRD_CONFIG_BOTTOM_H */