mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-24 12:25:35 +08:00
alpha: Tell math_private.h that we have __isnan et al.
This commit is contained in:
parent
b6db56fb2d
commit
bdd7898a58
@ -1,3 +1,7 @@
|
||||
2012-03-19 Richard Henderson <rth@twiddle.net>
|
||||
|
||||
* sysdeps/alpha/fpu/math_private.h: New file.
|
||||
|
||||
2012-03-11 Richard Henderson <rth@twiddle.net>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Remove file.
|
||||
|
21
sysdeps/alpha/fpu/math_private.h
Normal file
21
sysdeps/alpha/fpu/math_private.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef ALPHA_MATH_PRIVATE_H
|
||||
#define ALPHA_MATH_PRIVATE_H 1
|
||||
|
||||
/* In bits/mathinline.h we define __isnan et al.
|
||||
In sysdeps/alpha/fpu/s_isnan.c we move the identifier out of the way
|
||||
via macro hackery. In both cases, tell math/math_private.h that
|
||||
we have a local copy of the function. */
|
||||
|
||||
#ifndef __isnan
|
||||
# define __isnan __isnan
|
||||
#endif
|
||||
#ifndef __isnanf
|
||||
# define __isnanf __isnanf
|
||||
#endif
|
||||
#ifndef __isnanl
|
||||
# define __isnanl __isnanl
|
||||
#endif
|
||||
|
||||
#include_next <math_private.h>
|
||||
|
||||
#endif /* ALPHA_MATH_PRIVATE_H */
|
Loading…
Reference in New Issue
Block a user