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.verplant.org/?a=commitdiff_plain;h=002267b3ae6b25f7965dea8b8d25203f79dafa7b;p=rrdtool.git defined DPRINTF in a more compatible way -- Peter Breitenlohner git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@627 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index eb46ba9..44f668b 100644 --- a/src/rrd_gfx.c +++ b/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