Apply local namespace protection equivalent to the weak alias done
in softfloat-for-gcc.h, which we can't include here, to move "float_exception_mask" into implementation namespace.
This commit is contained in:
parent
349228b78c
commit
598174eb2b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: softfloat-specialize,v 1.5 2011/03/04 11:48:58 martin Exp $ */
|
||||
/* $NetBSD: softfloat-specialize,v 1.6 2011/03/06 10:27:37 martin Exp $ */
|
||||
|
||||
/* This is a derivative work. */
|
||||
|
||||
@ -55,6 +55,9 @@ substitute a result value. If traps are not implemented, this routine
|
||||
should be simply `float_exception_flags |= flags;'.
|
||||
-------------------------------------------------------------------------------
|
||||
*/
|
||||
#ifdef SOFTFLOAT_FOR_GCC
|
||||
#define float_exception_mask _softfloat_float_exception_mask
|
||||
#endif
|
||||
fp_except float_exception_mask = 0;
|
||||
void float_raise( fp_except flags )
|
||||
{
|
||||
@ -80,6 +83,7 @@ void float_raise( fp_except flags )
|
||||
sigqueueinfo(getpid(), &info);
|
||||
}
|
||||
}
|
||||
#undef float_exception_mask
|
||||
|
||||
/*
|
||||
-------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user