diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2016-07-22 21:29:20 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2016-07-29 05:12:04 +0000 |
commit | f010d89fa2e4aa463d3392c5f37fa22efd48e04e (patch) | |
tree | d5488c6cb24b3cdaafe6d4621a02b14eb5c90eed /Source | |
parent | a6c9dd667d534d3342bfba456f9d5c146a924de0 (diff) | |
download | qtwebkit-f010d89fa2e4aa463d3392c5f37fa22efd48e04e.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: I149e0540c00745fe8119fffd1463d16ae0047cb1
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WTF/wtf/MathExtras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WTF/wtf/MathExtras.h b/Source/WTF/wtf/MathExtras.h index d3def9a54..36c7d0e8c 100644 --- a/Source/WTF/wtf/MathExtras.h +++ b/Source/WTF/wtf/MathExtras.h @@ -43,7 +43,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. |