diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 16:36:15 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 16:36:15 -0400 |
commit | 71add00413c442205d585c33b09555075b42c023 (patch) | |
tree | 10515629a3c5e0b235df66629eb4c859b19e2a1b | |
parent | 23207cf75b00a370b0eae42deb5df8033ba92c56 (diff) |
account for times when copysign might be defined as a macro
-rw-r--r-- | src/math/copysign.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/math/copysign.c b/src/math/copysign.c index 2ace3c1d..c807cfc3 100644 --- a/src/math/copysign.c +++ b/src/math/copysign.c @@ -2,6 +2,8 @@ #include "_tgmath.h" #include <math.h> +#undef copysign + TYPE TGFN(copysign)(TYPE x, TYPE y) { if (isnan(x)) { |