Skip to content

Commit 5ba8fc3

Browse files
authored
Merge pull request #492 from smcv/mips
try-syscall: Use compiler-predefined macros to detect mips ABI
2 parents ade6bb0 + bab52ef commit 5ba8fc3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/try-syscall.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
#include <sys/types.h>
2525

2626
#if defined(_MIPS_SIM)
27-
# if _MIPS_SIM == _MIPS_SIM_ABI32
27+
# if _MIPS_SIM == _ABIO32
2828
# define MISSING_SYSCALL_BASE 4000
29-
# elif _MIPS_SIM == _MIPS_SIM_ABI64
29+
# elif _MIPS_SIM == _ABI64
3030
# define MISSING_SYSCALL_BASE 5000
31-
# elif _MIPS_SIM == _MIPS_SIM_NABI32
31+
# elif _MIPS_SIM == _ABIN32
3232
# define MISSING_SYSCALL_BASE 6000
3333
# else
3434
# error "Unknown MIPS ABI"

0 commit comments

Comments
 (0)