X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_tool.h;h=40a484601e021f78b3b3af7f081dc82968e105e6;hp=7d8368a6a45ebdbba57be8eca32ad109aa97c3d2;hb=ed3ee7c81e23fcd41693bc372470945576ae54d1;hpb=00d2f049a74cfd7e6d371e2c2c187f40013fbb45 diff --git a/src/rrd_tool.h b/src/rrd_tool.h index 7d8368a..40a4846 100644 --- a/src/rrd_tool.h +++ b/src/rrd_tool.h @@ -10,10 +10,12 @@ extern "C" { #ifndef _RRD_TOOL_H #define _RRD_TOOL_H +#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) +#include "../win32/config.h" +#else #ifdef HAVE_CONFIG_H #include "../rrd_config.h" -#elif defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) -#include "../win32/config.h" +#endif #endif #include "rrd.h" @@ -82,7 +84,8 @@ extern "C" { int rrd_create_fn( const char *file_name, - rrd_t *rrd); + rrd_t *rrd, + int no_overwrite); int rrd_fetch_fn (const char *filename, enum cf_en cf_idx, time_t *start,