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.
This commit is contained in:
Nico Weber 2023-04-14 10:47:25 -04:00 committed by Linus Groh
parent 97b7e494e4
commit eae1e61a88
Notes: sideshowbarker 2024-07-17 01:21:02 +09:00

View file

@ -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