summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-13 15:50:19 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-13 23:19:33 +0200
commit4cf24c6ba2a3152733312b3a121335fbe57cd133 (patch)
tree6d66b0893111aedeec03f2860aa8cdb3b3e83546 /Userland/Utilities
parentde4ba1f39b2c6db213bc499abcb5060ca05300bb (diff)
downloadserenity-4cf24c6ba2a3152733312b3a121335fbe57cd133.zip
Userland: Prefer using ARCH() over __LP64__
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/crash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/crash.cpp b/Userland/Utilities/crash.cpp
index 7781517f2d..227e67f5c1 100644
--- a/Userland/Utilities/crash.cpp
+++ b/Userland/Utilities/crash.cpp
@@ -207,7 +207,7 @@ int main(int argc, char** argv)
return Crash::Failure::UnexpectedError;
u8* bad_esp = bad_stack + 2048;
-#ifndef __LP64__
+#if ARCH(I386)
asm volatile("mov %%eax, %%esp" ::"a"(bad_esp));
asm volatile("pushl $0");
#else