summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/isa_defs.h
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2016-02-29 12:17:08 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2016-02-29 12:17:08 +0000
commit67c3f4c9f70c40ce0dd12db8804e720c3a0c0c79 (patch)
treea3220c2c4058a61e04dd53a843726a6dd4266a54 /usr/src/uts/common/sys/isa_defs.h
parente5490f12d073ec144d62bc50456b750256cc7c0a (diff)
parentaab83bb83be7342f6cfccaed8d5fe0b2f404855d (diff)
downloadillumos-joyent-67c3f4c9f70c40ce0dd12db8804e720c3a0c0c79.tar.gz
[illumos-gate merge]
commit aab83bb83be7342f6cfccaed8d5fe0b2f404855d 6659 nvlist_free(NULL) is a no-op commit d643a855cbd8c4fb4fe966406fa05dff70673597 6674 sys/isa_defs.h shouldn't unconditionally define _ILP32 commit bcf23f43dc1b73080eeded927585ee86feab40a7 6596 Macro redefined in strtolctype.h
Diffstat (limited to 'usr/src/uts/common/sys/isa_defs.h')
-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