1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:47:46 +00:00

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
parent 6c2c3d00a3
commit 44bc4008b7
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