X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_gfx.c;h=789ca95c7933e49ce43a099e32326b6dd6d5b52f;hb=6a9e3eacd35299d6c8a60b45325ce49648f3a611;hp=8b2d77f1eeed8bcd370a7b3c9120b395eec216d6;hpb=a9e69acbc184063dcc0eda6a250ee1b7ae1cbb47;p=rrdtool.git diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index 8b2d77f..789ca95 100644 --- a/src/rrd_gfx.c +++ b/src/rrd_gfx.c @@ -1,16 +1,21 @@ -/**************************************************************************** - * RRDtool 1.2.13 Copyright by Tobi Oetiker, 1997-2006 +**************************************************************************** + * RRDtool 1.2.19 Copyright by Tobi Oetiker, 1997-2007 **************************************************************************** * rrd_gfx.c graphics wrapper for rrdtool **************************************************************************/ /* #define DEBUG */ -#ifdef DEBUG -# define DPRINTF(...) fprintf(stderr, __VA_ARGS__); -#else -# define DPRINTF(...) -#endif +/* stupid MSVC doesnt support variadic macros = no debug for now! */ +#ifdef _MSC_VER +# define DPRINTF() +#else +# ifdef DEBUG +# define DPRINTF(...) fprintf(stderr, __VA_ARGS__); +# else +# define DPRINTF() +# endif /* DEBUG */ +#endif /* _MSC_VER */ #include "rrd_tool.h" #include #include