mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +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
Notes:
sideshowbarker
2024-07-17 01:21:02 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/eae1e61a88 Pull-request: https://github.com/SerenityOS/serenity/pull/18371
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
Reference in a new issue