freebsd-ports/x11/dxpc/files/patch-DecodeBuffer.C
Volker Stolz 1fc50e17e9 Update to 3.9.0
PR:		ports/95821
Submitted by:	Ports Fury
2006-05-24 13:40:51 +00:00

22 lines
556 B
C

--- DecodeBuffer.C.orig Wed Mar 1 05:46:52 2006
+++ DecodeBuffer.C Thu Apr 13 12:33:30 2006
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
+#include <stdio.h>
#include <assert.h>
#include "DecodeBuffer.H"
#include "IntCache.H"
@@ -20,9 +21,9 @@
// #define DEBUG
#ifdef DEBUG
-# define DBG(fmt, ...) printf(fmt, __VA_ARGS__)
+# define DBG(fmt, ARGS...) printf(fmt, ##ARGS)
#else
-# define DBG(fmt,...)
+# define DBG(fmt, ARGS...)
#endif
DecodeBuffer::DecodeBuffer(const unsigned char *data, unsigned int length)