Revision 001faf32 hw/cuda.c

b/hw/cuda.c
36 36
//#define DEBUG_CUDA_PACKET
37 37

  
38 38
#ifdef DEBUG_CUDA
39
#define CUDA_DPRINTF(fmt, args...) \
40
do { printf("CUDA: " fmt , ##args); } while (0)
39
#define CUDA_DPRINTF(fmt, ...)                                  \
40
    do { printf("CUDA: " fmt , ## __VA_ARGS__); } while (0)
41 41
#else
42
#define CUDA_DPRINTF(fmt, args...)
42
#define CUDA_DPRINTF(fmt, ...)
43 43
#endif
44 44

  
45 45
/* Bits in B data register: all active low */

Also available in: Unified diff