From c7bd05b419586c8f8e759ef71c72977e05ed5db1 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 3 Nov 2015 13:40:56 +0000 Subject: [PATCH] added a minor build check in mod-math.c requiring quadmath.h in a certain context --- qse/lib/awk/mod-math.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qse/lib/awk/mod-math.c b/qse/lib/awk/mod-math.c index 7aed1d25..b41c49f9 100644 --- a/qse/lib/awk/mod-math.c +++ b/qse/lib/awk/mod-math.c @@ -32,10 +32,11 @@ #include "../cmn/mem.h" #include "fnc.h" - #include #if defined(HAVE_QUADMATH_H) # include +#elif defined(QSE_USE_AWK_FLTMAX) && (QSE_AWK_SIZEOF_FLT_T == 16) +# error QUADMATH.H NOT AVAILABLE or NOT COMPILABLE #endif #if !defined(QSE_HAVE_CONFIG_H)