diff options
author | das <das@FreeBSD.org> | 2010-06-12 17:32:05 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2010-06-12 17:32:05 +0000 |
commit | cffc98917516f0cc67b1aaada5f93647efe93772 (patch) | |
tree | 10a5155b3f734a7fe6d9186f40e77235194e5a35 /lib/msun/Symbol.map | |
parent | 5deeb3cf12edde9c9f52e91e6e217c1c3bac2694 (diff) | |
download | FreeBSD-src-cffc98917516f0cc67b1aaada5f93647efe93772.zip FreeBSD-src-cffc98917516f0cc67b1aaada5f93647efe93772.tar.gz |
Introduce __isnanf() as an alias for isnanf(), and make the isnan()
macro expand to __isnanf() instead of isnanf() for float arguments.
This change is needed because isnanf() isn't declared in strict POSIX
or C99 mode.
Compatibility note: Apps using isnan(float) that are compiled after
this change won't link against an older libm.
Reported by: Florian Forster <octo@verplant.org>
Diffstat (limited to 'lib/msun/Symbol.map')
-rw-r--r-- | lib/msun/Symbol.map | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/msun/Symbol.map b/lib/msun/Symbol.map index 39196bd..429a76f 100644 --- a/lib/msun/Symbol.map +++ b/lib/msun/Symbol.map @@ -218,3 +218,8 @@ FBSD_1.1 { cprojf; cprojl; }; + +/* First added in 9.0-CURRENT */ +FBSD_1.2 { + __isnanf; +}; |