mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
af81645a2a
This is very handy for the DebugLogStream implementation, among others. :^)
10 lines
217 B
C
10 lines
217 B
C
#pragma once
|
|
|
|
#ifdef __serenity__
|
|
#include <Kernel/kstdio.h>
|
|
#else
|
|
#include <stdio.h>
|
|
#define kprintf printf
|
|
#define dbgprintf printf
|
|
#define dbgputstr(characters, length) fwrite(characters, 1, length, stdout)
|
|
#endif
|