Skip to content

Commit 32c8dee

Browse files
committed
Fix little-endian MIPS definition
GCC pre-defines _MIPSEL, not __mipsel__.
1 parent f40203a commit 32c8dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ irep_idt configt::this_architecture()
13641364
#else
13651365
this_arch = "arm";
13661366
#endif
1367-
#elif defined(__mipsel__)
1367+
#elif defined(_MIPSEL)
13681368
#if _MIPS_SIM==_ABIO32
13691369
this_arch = "mipsel";
13701370
#elif _MIPS_SIM==_ABIN32

0 commit comments

Comments
 (0)