summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch.c2
-rw-r--r--tools/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch.c b/src/arch.c
index 8c45fa3..50a2321 100644
--- a/src/arch.c
+++ b/src/arch.c
@@ -64,7 +64,7 @@ const struct arch_def *arch_def_native = &arch_def_x86_64;
const struct arch_def *arch_def_native = &arch_def_arm;
#elif __aarch64__
const struct arch_def *arch_def_native = &arch_def_aarch64;
-#elif __loongarch64
+#elif __loongarch_lp64
const struct arch_def *arch_def_native = &arch_def_loongarch64;
#elif __mips__ && _MIPS_SIM == _MIPS_SIM_ABI32
#if __MIPSEB__
diff --git a/tools/util.c b/tools/util.c
index 327fc14..f67dea7 100644
--- a/tools/util.c
+++ b/tools/util.c
@@ -44,7 +44,7 @@
#define ARCH_NATIVE AUDIT_ARCH_ARM
#elif __aarch64__
#define ARCH_NATIVE AUDIT_ARCH_AARCH64
-#elif __loongarch64
+#elif __loongarch_lp64
#define ARCH_NATIVE AUDIT_ARCH_LOONGARCH64
#elif __mips__ && _MIPS_SIM == _MIPS_SIM_ABI32
#if __MIPSEB__