diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-06-09 07:16:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-06-09 07:16:18 (GMT) |
commit | 0d6faa1ccd7d63990e058383d624757117d33b49 (patch) | |
tree | 89d7f75a012352536dda803745eb2545834394c3 | |
parent | 3b3080a9f6ee6d2698ce30e685b64967097062f2 (diff) | |
download | tcl-0d6faa1ccd7d63990e058383d624757117d33b49.zip tcl-0d6faa1ccd7d63990e058383d624757117d33b49.tar.gz tcl-0d6faa1ccd7d63990e058383d624757117d33b49.tar.bz2 |
Fix compiler warning seen with static builds (--disable-shared): "FLT_RADIX" is not defined, evaluates to 0 [-Wundef]
-rw-r--r-- | libtommath/bn_mp_sqrt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtommath/bn_mp_sqrt.c b/libtommath/bn_mp_sqrt.c index 4481d3a..dcf28fd 100644 --- a/libtommath/bn_mp_sqrt.c +++ b/libtommath/bn_mp_sqrt.c @@ -4,6 +4,7 @@ /* SPDX-License-Identifier: Unlicense */ #ifndef NO_FLOATING_POINT +#include <float.h> #include <math.h> #if (MP_DIGIT_BIT != 28) || (FLT_RADIX != 2) || (DBL_MANT_DIG != 53) || (DBL_MAX_EXP != 1024) #define NO_FLOATING_POINT |