defined DPRINTF in a more compatible way -- Peter Breitenlohner
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 11 Jun 2005 05:37:55 +0000 (05:37 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 11 Jun 2005 05:37:55 +0000 (05:37 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@627 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_gfx.c

index eb46ba9..44f668b 100644 (file)
@@ -7,9 +7,9 @@
 /* #define DEBUG */
 
 #ifdef DEBUG
 /* #define DEBUG */
 
 #ifdef DEBUG
-# define DPRINTF(x,...)  fprintf(stderr, x, ## __VA_ARGS__);
+# define DPRINTF(...)  fprintf(stderr, __VA_ARGS__);
 #else
 #else
-# define DPRINTF(x,...)
+# define DPRINTF(...)
 #endif
 #include "rrd_tool.h"
 #include <png.h>
 #endif
 #include "rrd_tool.h"
 #include <png.h>