From 301a269ca0361ba5fa94ad143d9f35049076f618 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 20 Apr 2019 12:58:02 +0200 Subject: Get rid of SERENITY macro since the compiler already defines __serenity__ This makes it a bit easier to use AK templates out-of-tree. --- Kernel/Syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Syscall.h') diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index dfaddc070d..14dc789558 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -121,7 +121,7 @@ inline constexpr const char* to_string(Function function) return "Unknown"; } -#ifdef SERENITY +#ifdef __serenity__ struct SC_mmap_params { uint32_t addr; uint32_t size; -- cgit v1.2.3