diff options
author | Yuri Pankov <yuri.pankov@gmail.com> | 2016-02-24 18:59:17 +0300 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2016-02-27 08:52:10 -0800 |
commit | d643a855cbd8c4fb4fe966406fa05dff70673597 (patch) | |
tree | 249ac520900e4f860b27b6f25c84988bdc883fdf /usr | |
parent | bcf23f43dc1b73080eeded927585ee86feab40a7 (diff) | |
download | illumos-joyent-d643a855cbd8c4fb4fe966406fa05dff70673597.tar.gz |
6674 sys/isa_defs.h shouldn't unconditionally define _ILP32
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/uts/common/sys/isa_defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |