diff options
author | emaste <emaste@FreeBSD.org> | 2014-11-21 02:05:48 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-11-21 02:05:48 +0000 |
commit | c7e313326dae74e64f75ded1afb06337d55ecd57 (patch) | |
tree | 9eebff29c016aa690ddbb8ca4e33ff42270a0d1c /lib/msun/src | |
parent | 8723ec446135291c191b573bd01676c8a4c83d3e (diff) | |
download | FreeBSD-src-c7e313326dae74e64f75ded1afb06337d55ecd57.zip FreeBSD-src-c7e313326dae74e64f75ded1afb06337d55ecd57.tar.gz |
Use canonical __PIC__ flag
It is automatically set when -fPIC is passed to the compiler.
Reviewed by: dim, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1179
Diffstat (limited to 'lib/msun/src')
-rw-r--r-- | lib/msun/src/s_isnan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/s_isnan.c b/lib/msun/src/s_isnan.c index a54ded3..eabae9d 100644 --- a/lib/msun/src/s_isnan.c +++ b/lib/msun/src/s_isnan.c @@ -31,7 +31,7 @@ #include "fpmath.h" /* Provided by libc.so */ -#ifndef PIC +#ifndef __PIC__ #undef isnan int isnan(double d) @@ -41,7 +41,7 @@ isnan(double d) u.d = d; return (u.bits.exp == 2047 && (u.bits.manl != 0 || u.bits.manh != 0)); } -#endif /* !PIC */ +#endif /* !__PIC__ */ int __isnanf(float f) |