mirror of
https://github.com/ish-app/ish.git
synced 2026-05-28 21:10:35 +00:00
Fix warning about redefining printf when building linux
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
void ish_printk(const char *msg, ...);
|
||||
void ish_vprintk(const char *msg, va_list args);
|
||||
#undef printk
|
||||
#define printk ish_printk
|
||||
|
||||
// debug output utilities
|
||||
@@ -84,4 +85,4 @@ _Noreturn void die(const char *msg, ...);
|
||||
#define debugger raise(SIGTRAP)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user