diff options
author | Simon McVittie <smcv@collabora.com> | 2022-05-10 16:31:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 16:31:02 +0100 |
commit | 5ba8fc31ca59be22160a677b0ac3e9a0b934c582 (patch) | |
tree | 382d41643a0087f7767cc89d52f9c8b9fa3e983f | |
parent | ade6bb0ff77d8487c7f9b6f6bdd748ebabfcb462 (diff) | |
parent | bab52ef198b595939ce95b03ab16bd81e58db6c2 (diff) | |
download | bubblewrap-5ba8fc31ca59be22160a677b0ac3e9a0b934c582.tar.gz |
Merge pull request #492 from smcv/mips
try-syscall: Use compiler-predefined macros to detect mips ABI
-rw-r--r-- | tests/try-syscall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/try-syscall.c b/tests/try-syscall.c index 6e389de..6f2f112 100644 --- a/tests/try-syscall.c +++ b/tests/try-syscall.c @@ -24,11 +24,11 @@ #include <sys/types.h> #if defined(_MIPS_SIM) -# if _MIPS_SIM == _MIPS_SIM_ABI32 +# if _MIPS_SIM == _ABIO32 # define MISSING_SYSCALL_BASE 4000 -# elif _MIPS_SIM == _MIPS_SIM_ABI64 +# elif _MIPS_SIM == _ABI64 # define MISSING_SYSCALL_BASE 5000 -# elif _MIPS_SIM == _MIPS_SIM_NABI32 +# elif _MIPS_SIM == _ABIN32 # define MISSING_SYSCALL_BASE 6000 # else # error "Unknown MIPS ABI" |