summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-07-22 23:16:30 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-07-25 16:10:45 +0000
commit6e1dde1568d5b0dd774173e3d8f63a15c9a10e15 (patch)
treef27b2e0e1ce4799f05bdabbc23fcf16f13b8c514
parente2e7b57a5d3f3fe870756f4cdcf104b7090c3526 (diff)
downloadqtscript-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>
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h2
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.