PERFORCE change 132484 for review
Juli Mallett
juli at clockworksquid.com
Fri Jan 4 07:48:59 PST 2008
_LOCORE is supposed to cover that (but it might should be spelled LOCORE?)
* Oleksandr Tymoshenko <gonzo at FreeBSD.org> [ 2008-01-04 ]
[ PERFORCE change 132484 for review ]
> 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