diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2016-07-22 23:16:30 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2016-07-25 16:10:45 +0000 |
commit | 6e1dde1568d5b0dd774173e3d8f63a15c9a10e15 (patch) | |
tree | f27b2e0e1ce4799f05bdabbc23fcf16f13b8c514 /src | |
parent | e2e7b57a5d3f3fe870756f4cdcf104b7090c3526 (diff) | |
download | qtscript-6e1dde1568d5b0dd774173e3d8f63a15c9a10e15.tar.gz |
Fix build with the Intel compiler
ICC's supplied math.h has #defines for isnan and signbit. So work around
that.
Change-Id: I149e0540c00745fe8119fffd1463d7473c4c1f8a
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h index 46b2241..094d456 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h +++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h @@ -40,7 +40,7 @@ #include <machine/ieee.h> #endif -#if OS(QNX) +#if OS(QNX) || COMPILER(INTEL) // FIXME: Look into a way to have cmath import its functions into both the standard and global // namespace. For now, we include math.h since the QNX cmath header only imports its functions // into the standard namespace. |