From d643a855cbd8c4fb4fe966406fa05dff70673597 Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Wed, 24 Feb 2016 18:59:17 +0300 Subject: 6674 sys/isa_defs.h shouldn't unconditionally define _ILP32 Reviewed by: Igor Kozhukhov Reviewed by: Andy Stormont Approved by: Robert Mustacchi --- usr/src/uts/common/sys/isa_defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr/src') diff --git a/usr/src/uts/common/sys/isa_defs.h b/usr/src/uts/common/sys/isa_defs.h index c5849546d8..a7855171cd 100644 --- a/usr/src/uts/common/sys/isa_defs.h +++ b/usr/src/uts/common/sys/isa_defs.h @@ -327,7 +327,9 @@ extern "C" { /* * Define the appropriate "implementation choices". */ +#if !defined(_ILP32) #define _ILP32 +#endif #if !defined(_I32LPx) && defined(_KERNEL) #define _I32LPx #endif @@ -432,7 +434,9 @@ extern "C" { /* * Define the appropriate "implementation choices" */ +#if !defined(_ILP32) #define _ILP32 +#endif #if !defined(_I32LPx) && defined(_KERNEL) #define _I32LPx #endif -- cgit v1.2.3