commit | 001faf3269541f0231482e0fccc846f62f8930b2 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Wed May 13 17:53:17 2009 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Wed May 13 17:53:17 2009 +0000 |
tree | a5a7b0143f3fd9d71e42eb03c4967f8763ec3501 | |
parent | 4cfce484c5d7e514c23689f3194055b5463d6054 [diff] [blame] |
Replace gcc variadic macro extension with C99 version Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/linux-user/flatload.c b/linux-user/flatload.c index 00e0312..8eba5a8 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c
@@ -47,9 +47,9 @@ //#define DEBUG #ifdef DEBUG -#define DBG_FLT(a...) printf(a) +#define DBG_FLT(...) printf(__VA_ARGS__) #else -#define DBG_FLT(a...) +#define DBG_FLT(...) #endif #define flat_reloc_valid(reloc, size) ((reloc) <= (size))