Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Great, thanks.
---
src/arch.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/arch.c b/src/arch.c
index 1e61db3..c65497b 100644
--- a/src/arch.c
+++ b/src/arch.c
@@ -50,19 +50,19 @@ const struct arch_def *arch_def_native =
&arch_def_x86_64; #endif /* __ILP32__ */
#elif __arm__
const struct arch_def *arch_def_native = &arch_def_arm;
-#elif _MIPS_SIM == _MIPS_SIM_ABI32
+#elif __mips__ && _MIPS_SIM == _MIPS_SIM_ABI32
#if __MIPSEB__
const struct arch_def *arch_def_native = &arch_def_mips;
#elif __MIPSEL__
const struct arch_def *arch_def_native = &arch_def_mipsel;
#endif /* _MIPS_SIM_ABI32 */
-#elif _MIPS_SIM == _MIPS_SIM_ABI64
+#elif __mips__ && _MIPS_SIM == _MIPS_SIM_ABI64
#if __MIPSEB__
const struct arch_def *arch_def_native = &arch_def_mips64;
#elif __MIPSEL__
const struct arch_def *arch_def_native = &arch_def_mipsel64;
#endif /* _MIPS_SIM_ABI64 */
-#elif _MIPS_SIM == _MIPS_SIM_NABI32
+#elif __mips__ && _MIPS_SIM == _MIPS_SIM_NABI32
#if __MIPSEB__
const struct arch_def *arch_def_native = &arch_def_mips64n32;
#elif __MIPSEL__
-- 2.1.0
----------------------------------------------------------------------------
-- Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
libseccomp-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss
--
paul moore
security and virtualization @ redhat
Loading...