diff options
author | David Phillips <david@sighup.nz> | 2019-08-11 19:44:31 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-11 19:47:09 +1200 |
commit | 0d36dbbf03a836ab6bc0d964176015dc12e68b47 (patch) | |
tree | 1882ea3b76c6ce244b6402804a842dd50fc42aec /debug.h | |
parent | 07af05ccc60e1aec3e8dd501233d67eaf769a8e7 (diff) | |
download | toy-cpu-assembler-0d36dbbf03a836ab6bc0d964176015dc12e68b47.tar.xz |
Remove warning about non-ISO C feature
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,9 +2,9 @@ #define DEBUG_H #ifdef DEBUG -#define debug(x...) printf(x) +#define debug(...) printf(__VA_ARGS__) #else -#define debug(x...) +#define debug(...) #endif #endif /* DEBUG_H */ |