Skip to content

Commit

Permalink
New definition for printf, using ##__VA_ARGS__
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Mar 13, 2018
1 parent 1adac79 commit f7457e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define warn compileError
#define warnx compileError
#ifndef printf
#define printf compileError
#define printf(...) fprintf (stdout, ##__VA_ARGS__)
#endif

#define putchar(a) fputc(a, thread_stdout)
Expand Down

0 comments on commit f7457e4

Please sign in to comment.