summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@gmail.com>2016-02-24 18:59:17 +0300
committerRobert Mustacchi <rm@joyent.com>2016-02-27 08:52:10 -0800
commitd643a855cbd8c4fb4fe966406fa05dff70673597 (patch)
tree249ac520900e4f860b27b6f25c84988bdc883fdf /usr
parentbcf23f43dc1b73080eeded927585ee86feab40a7 (diff)
downloadillumos-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.h4
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