PERFORCE change 95095 for review
John Birrell
jb at FreeBSD.org
Wed Apr 12 22:06:49 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95095
Change 95095 by jb at 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
More information about the p4-projects
mailing list