Build: Get rid of the USERLAND define

Let's simplify things. There is now only KERNEL.
To see if you're on Serenity, check if __serenity__ is defined.
This commit is contained in:
Andreas Kling 2019-12-20 22:56:42 +01:00
commit 44bc4008b7
Notes: sideshowbarker 2024-07-19 10:47:22 +09:00
4 changed files with 6 additions and 8 deletions

View file

@ -11,7 +11,7 @@ void set_serial_debug(bool on_or_off);
int get_serial_debug();
}
#ifndef USERLAND
#ifdef KERNEL
# define printf dbgprintf
#endif