Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 05:18:13 -1000
From:      Juli Mallett <juli@clockworksquid.com>
To:        Oleksandr Tymoshenko <gonzo@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   Re: PERFORCE change 132484 for review
Message-ID:  <20080104151813.GA79941@toxic.magnesium.net>
In-Reply-To: <200801041515.m04FF6iB005672@repoman.freebsd.org>
References:  <200801041515.m04FF6iB005672@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
_LOCORE is supposed to cover that (but it might should be spelled LOCORE?)

* Oleksandr Tymoshenko <gonzo@FreeBSD.org> [ 2008-01-04 ]
	[ PERFORCE change 132484 for review ]
> 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?20080104151813.GA79941>