From 71add00413c442205d585c33b09555075b42c023 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 16:36:15 -0400 Subject: account for times when copysign might be defined as a macro --- src/math/copysign.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 +#undef copysign + TYPE TGFN(copysign)(TYPE x, TYPE y) { if (isnan(x)) { -- cgit v1.2.1