Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 22:06:45 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95095 for review
Message-ID:  <200604122206.k3CM6jHT028318@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95095

Change 95095 by jb@jb_freebsd2 on 2006/04/12 22:05:53

	Let FreeBSD's system headers work out the endian order rather than going
	it the Solaris way. The defined name is the same, so this prevents a
	redefinition.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/isa_defs.h#2 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/isa_defs.h#2 (text) ====

@@ -224,7 +224,9 @@
 /*
  * Define the appropriate "processor characteristics"
  */
+#if	defined(sun)
 #define	_LITTLE_ENDIAN
+#endif
 #define	_STACK_GROWS_DOWNWARD
 #define	_LONG_LONG_LTOH
 #define	_BIT_FIELDS_LTOH
@@ -288,7 +290,9 @@
 /*
  * Define the appropriate "processor characteristics"
  */
+#if	defined(sun)
 #define	_LITTLE_ENDIAN
+#endif
 #define	_STACK_GROWS_DOWNWARD
 #define	_LONG_LONG_LTOH
 #define	_BIT_FIELDS_LTOH
@@ -373,7 +377,9 @@
  * Define the appropriate "processor characteristics" shared between
  * all Solaris on SPARC systems.
  */
+#if	defined(sun)
 #define	_BIG_ENDIAN
+#endif
 #define	_STACK_GROWS_DOWNWARD
 #define	_LONG_LONG_HTOL
 #define	_BIT_FIELDS_HTOL



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