Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2017 17:45:06 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322765 - head/sys/cddl/contrib/opensolaris/uts/common/sys
Message-ID:  <201708211745.v7LHj686027646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708211745.v7LHj686027646>