added a minor build check in mod-math.c requiring quadmath.h in a certain context

This commit is contained in:
hyung-hwan 2015-11-03 13:40:56 +00:00
parent c42a9945b1
commit c7bd05b419

View File

@ -32,10 +32,11 @@
#include "../cmn/mem.h" #include "../cmn/mem.h"
#include "fnc.h" #include "fnc.h"
#include <math.h> #include <math.h>
#if defined(HAVE_QUADMATH_H) #if defined(HAVE_QUADMATH_H)
# include <quadmath.h> # include <quadmath.h>
#elif defined(QSE_USE_AWK_FLTMAX) && (QSE_AWK_SIZEOF_FLT_T == 16)
# error QUADMATH.H NOT AVAILABLE or NOT COMPILABLE
#endif #endif
#if !defined(QSE_HAVE_CONFIG_H) #if !defined(QSE_HAVE_CONFIG_H)