From 63be8c812dfe722e5af461f52c76f9382519689e Mon Sep 17 00:00:00 2001 From: oetiker Date: Sat, 11 Jun 2005 05:37:55 +0000 Subject: [PATCH] defined DPRINTF in a more compatible way -- Peter Breitenlohner git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@627 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_gfx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c index eb46ba92..44f668b8 100644 --- a/program/src/rrd_gfx.c +++ b/program/src/rrd_gfx.c @@ -7,9 +7,9 @@ /* #define DEBUG */ #ifdef DEBUG -# define DPRINTF(x,...) fprintf(stderr, x, ## __VA_ARGS__); +# define DPRINTF(...) fprintf(stderr, __VA_ARGS__); #else -# define DPRINTF(x,...) +# define DPRINTF(...) #endif #include "rrd_tool.h" #include -- 2.30.2