summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-20 12:58:02 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-20 12:58:49 +0200
commit301a269ca0361ba5fa94ad143d9f35049076f618 (patch)
tree9a1b4b1b20c5b71cbee5b45d6220e5b5eeb7e0b4 /Kernel/Syscall.h
parent6aead8998ac1a0858265385dd0b6300973c1e99d (diff)
downloadserenity-301a269ca0361ba5fa94ad143d9f35049076f618.zip
Get rid of SERENITY macro since the compiler already defines __serenity__
This makes it a bit easier to use AK templates out-of-tree.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h2
1 files changed, 1 insertions, 1 deletions
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;