Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 15:15:06 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 132484 for review
Message-ID:  <200801041515.m04FF6iB005672@repoman.freebsd.org>

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

Change 132484 by gonzo@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_ */



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