mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
AK: Add AK_IS_ARCH defines for PowerPC CPU architecture
This commit is contained in:
parent
b54a1c6284
commit
ffe2f16c58
Notes:
sideshowbarker
2024-07-16 18:26:46 +09:00
Author: https://github.com/sideeffect42 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ffe2f16c58 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/391 Reviewed-by: https://github.com/ADKaster ✅
@ -39,6 +39,23 @@
|
||||
# define AK_IS_ARCH_RISCV64() 0
|
||||
#endif
|
||||
|
||||
#if defined(__ppc64__) || defined(__PPC64__)
|
||||
# define AK_IS_ARCH_PPC64() 1
|
||||
#else
|
||||
# define AK_IS_ARCH_PPC64() 0
|
||||
#endif
|
||||
#if defined(__ppc64le__) || defined(__PPC64LE__)
|
||||
# define AK_IS_ARCH_PPC64LE() 1
|
||||
#else
|
||||
# define AK_IS_ARCH_PPC64LE() 0
|
||||
#endif
|
||||
|
||||
#if defined(__ppc__) || defined(__PPC__) || defined(__powerpc__) || defined(__powerpc) || defined(__POWERPC__)
|
||||
# define AK_IS_ARCH_PPC() 1
|
||||
#else
|
||||
# define AK_IS_ARCH_PPC() 0
|
||||
#endif
|
||||
|
||||
#ifdef __wasm32__
|
||||
# define AK_IS_ARCH_WASM32() 1
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user