Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 15:26:07 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 134476 for review
Message-ID:  <200801301526.m0UFQ7sK057070@repoman.freebsd.org>

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

Change 134476 by gonzo@gonzo_jeeves on 2008/01/30 15:25:17

	o Resubmit check for __ASSEMBLER__ presented in changeset 132313
	    and accidentally backed out.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#8 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#8 (text+ko) ====

@@ -35,8 +35,10 @@
 
 #include <sys/cdefs.h>
 #ifndef _LOCORE
+#ifndef	__ASSEMBLER__
 #include <sys/_types.h>
 #endif
+#endif
 
 #ifdef __cplusplus
 extern "C" {
@@ -68,6 +70,7 @@
 #endif
 
 #ifndef LOCORE
+#ifndef	__ASSEMBLER__
 #if defined(__GNUCLIKE_BUILTIN_CONSTANT_P) && defined(__OPTIMIZE__)
 #define	__is_constant(x)	__builtin_constant_p(x)
 #else
@@ -137,6 +140,7 @@
 #define __htons(x)	(__bswap16((x)))
 #endif /* _MIPSEB */
 
+#endif /* __ASSEMBLER__ */
 #endif /* LOCORE */
 
 #ifdef __cplusplus



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