From ac3b479ec8db076d87016a4cc09009ec0b3630d7 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 21 Aug 2017 17:45:06 +0000 Subject: [PATCH] Add a guard around _ILP32 for mips. This is already done for other architectures in this file and fixes the build with clang. --- sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h b/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h index a45d18e8ab2..93f1855b390 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h +++ b/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h @@ -525,7 +525,9 @@ extern "C" { /* * Define the appropriate "implementation choices". */ +#if !defined(_ILP32) #define _ILP32 +#endif #if !defined(_I32LPx) && defined(_KERNEL) #define _I32LPx #endif