diff options
author | Nico Weber <thakis@chromium.org> | 2023-04-14 10:47:25 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-14 19:15:19 +0200 |
commit | eae1e61a88567cdc373bfbbe6ca1297381c9d9e6 (patch) | |
tree | 226cc7c1f6f2b18f140d5fa08ab509cb93bd3edc /AK | |
parent | 97b7e494e43e22b87682ea028a179f60611a5336 (diff) | |
download | serenity-eae1e61a88567cdc373bfbbe6ca1297381c9d9e6.zip |
AK: Remove unused AK_ARCH_ defines
ARCH() uses the AK_IS_ARCH_ macros internally since 349e54d5375a4a,
and all user code uses the ARCH() macro instead of AK_ARCH_.
(Why it's called ARCH() and not AK_ARCH(), I don't know.)
If any ports not in the main repo use AK_ARCH_, they should switch
to using ARCH() instead.
Diffstat (limited to 'AK')
-rw-r--r-- | AK/Platform.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/AK/Platform.h b/AK/Platform.h index 7b5c28e663..d0d1ffbd0e 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -12,21 +12,18 @@ #endif #ifdef __x86_64__ -# define AK_ARCH_X86_64 1 # define AK_IS_ARCH_X86_64() 1 #else # define AK_IS_ARCH_X86_64() 0 #endif #ifdef __aarch64__ -# define AK_ARCH_AARCH64 1 # define AK_IS_ARCH_AARCH64() 1 #else # define AK_IS_ARCH_AARCH64() 0 #endif #ifdef __wasm32__ -# define AK_ARCH_WASM32 1 # define AK_IS_ARCH_WASM32() 1 #else # define AK_IS_ARCH_WASM32() 0 |