diff options
author | Richard Henderson <rth@twiddle.net> | 2012-03-18 17:27:13 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2012-03-19 06:53:31 -0700 |
commit | bdd7898a58bd76ac3b411a4931ff3f9e77eabe6a (patch) | |
tree | 2382346739b638bf8727dfbb0cdc1eb81f921d74 | |
parent | b6db56fb2d6c0dcf46fb3e3ba7f9487198a5d3b6 (diff) | |
download | glibc-bdd7898a58bd76ac3b411a4931ff3f9e77eabe6a.tar.gz glibc-bdd7898a58bd76ac3b411a4931ff3f9e77eabe6a.tar.xz glibc-bdd7898a58bd76ac3b411a4931ff3f9e77eabe6a.zip |
alpha: Tell math_private.h that we have __isnan et al.
-rw-r--r-- | ChangeLog.alpha | 4 | ||||
-rw-r--r-- | sysdeps/alpha/fpu/math_private.h | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 3036d8a6a1..03c835e809 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -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. diff --git a/sysdeps/alpha/fpu/math_private.h b/sysdeps/alpha/fpu/math_private.h new file mode 100644 index 0000000000..eb2177d78d --- /dev/null +++ b/sysdeps/alpha/fpu/math_private.h @@ -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 */ |