mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
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:
parent
97b7e494e4
commit
eae1e61a88
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue