From: Po Lu Date: Tue, 15 Apr 2025 09:03:57 +0000 (+0800) Subject: * exec/configure.ac (exec_CHECK_MIPS_NABI): Test __LP64__ also. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f1c0f88d3bb7bac3f79c62b4cad22eb969f95d8;p=emacs.git * exec/configure.ac (exec_CHECK_MIPS_NABI): Test __LP64__ also. (cherry picked from commit 458ad0cb899491da546c06a3f1cd63c0f54623ac) --- diff --git a/exec/configure.ac b/exec/configure.ac index d462a25b9d9..3415a0aa91c 100644 --- a/exec/configure.ac +++ b/exec/configure.ac @@ -213,11 +213,11 @@ AC_CACHE_CHECK([whether MIPS NABI calling convention is used], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include ]], [[ -#ifndef __mips64__ +#if !defined __mips64__ && !defined __LP64__ #if _MIPS_SIM == _ABIO32 OABI in use. #endif /* _MIPS_SIM == _ABIO32 */ -#endif /* !__mips64__ */ +#endif /* !__mips64__ && !defined __LP64__ */ ]])], [exec_cv_mips_nabi=yes], [exec_cv_mips_nabi=no])])