svn commit: r322765 - head/sys/cddl/contrib/opensolaris/uts/common/sys
John Baldwin
jhb at FreeBSD.org
Mon Aug 21 17:45:07 UTC 2017
Author: jhb
Date: Mon Aug 21 17:45:06 2017
New Revision: 322765
URL: https://svnweb.freebsd.org/changeset/base/322765
Log:
Add a guard around _ILP32 for mips.
This is already done for other architectures in this file and fixes the
build with clang.
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h
Modified: head/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h Mon Aug 21 17:40:51 2017 (r322764)
+++ head/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h Mon Aug 21 17:45:06 2017 (r322765)
@@ -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
More information about the svn-src-head
mailing list