Skip to content

Commit 5b4feea

Browse files
committed
Fix mips tests failing to build on arm64 linux
1 parent ec48dcb commit 5b4feea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/mips/mips/test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,11 @@ int main(int ac, char **av)
174174
result = -1;
175175
goto cleanup;
176176
}
177+
#if !(defined(__linux__) && defined(__aarch64__))
177178
#ifndef WIN32
178179
if (version == MIPS_R5900)
179180
insword = ntohl(insword);
181+
#endif
180182
#endif
181183
if (0 == disassemble(insword, baseaddr, version, flags, instxt))
182184
{

0 commit comments

Comments
 (0)