Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 10:28:54 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127761 for review
Message-ID:  <200710191028.l9JASsGj003363@repoman.freebsd.org>

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

Change 127761 by jb@jb_freebsd1 on 2007/10/19 10:28:26

	Prevent this file from breaking the FreeBSD endian definitions.

Affected files ...

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

Differences ...

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

@@ -229,7 +229,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
@@ -293,7 +295,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
@@ -378,7 +382,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?200710191028.l9JASsGj003363>