ladybird/Kernel/kstdio.h
Andreas Kling 7e1cb86da7 LibHTML: Make it possible to build LibHTML on the host.
- "make" builds the normal Serenity libhtml.a
- "make -f Makefile.host" builds a test program for the host machine.
2019-06-22 21:21:57 +02:00

16 lines
256 B
C

#pragma once
extern "C" {
int dbgprintf(const char* fmt, ...);
int kprintf(const char* fmt, ...);
int ksprintf(char* buf, const char* fmt, ...);
}
#ifndef USERLAND
# define printf dbgprintf
#endif
#ifndef __serenity__
#define dbgprintf printf
#endif