From: oetiker Date: Sat, 11 Jun 2005 05:37:55 +0000 (+0000) Subject: defined DPRINTF in a more compatible way -- Peter Breitenlohner X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=63be8c812dfe722e5af461f52c76f9382519689e;p=rrdtool-all.git 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 --- 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