PERFORCE change 127761 for review

John Birrell jb at FreeBSD.org
Fri Oct 19 03:28:55 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127761

Change 127761 by jb at 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


More information about the p4-projects mailing list