PERFORCE change 134476 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Wed Jan 30 07:26:08 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134476
Change 134476 by gonzo at 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
More information about the p4-projects
mailing list