PERFORCE change 132484 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Fri Jan 4 07:15:07 PST 2008


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

Change 132484 by gonzo at gonzo_jeeves on 2008/01/04 15:14:35

	o Use __ASSEMBLER__ macro to exclude C-part of setjmp.h, 
	    it's either this way or we'll have to duplicate setjmp constants
	    in asm.h

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/include/setjmp.h#4 edit

Differences ...

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

@@ -47,11 +47,13 @@
  * internally to avoid some run-time errors for mismatches.
  */
 #ifndef _LOCORE
+#ifndef __ASSEMBLER__
 #if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE
 typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
 #endif
 
 typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1];
-#endif
+#endif /* __ASSEMBLER__ */
+#endif /* _LOCORE */
 
 #endif /* _MACHINE_SETJMP_H_ */


More information about the p4-projects mailing list