mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
Replace gcc variadic macro extension with C99 version
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4cfce484c5
commit
001faf3269
70 changed files with 268 additions and 268 deletions
|
@ -14,10 +14,10 @@
|
|||
//#define DEBUG_FEC 1
|
||||
|
||||
#ifdef DEBUG_FEC
|
||||
#define DPRINTF(fmt, args...) \
|
||||
do { printf("mcf_fec: " fmt , ##args); } while (0)
|
||||
#define DPRINTF(fmt, ...) \
|
||||
do { printf("mcf_fec: " fmt , ## __VA_ARGS__); } while (0)
|
||||
#else
|
||||
#define DPRINTF(fmt, args...) do {} while(0)
|
||||
#define DPRINTF(fmt, ...) do {} while(0)
|
||||
#endif
|
||||
|
||||
#define FEC_MAX_FRAME_SIZE 2032
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue