mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
AK: Make dbgprintf() and dbgputstr() go to stderr on non-Serenity hosts
This commit is contained in:
parent
0d48fb9a87
commit
20e58c5513
2 changed files with 3 additions and 3 deletions
|
@ -45,6 +45,6 @@ inline int dbgputstr(const char (&array)[N])
|
|||
#else
|
||||
# include <stdio.h>
|
||||
# define kprintf printf
|
||||
# define dbgprintf printf
|
||||
# define dbgputstr(characters, length) fwrite(characters, 1, length, stdout)
|
||||
# define dbgprintf(...) fprintf(stderr, __VA_ARGS__)
|
||||
# define dbgputstr(characters, length) fwrite(characters, 1, length, stderr)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue