diff options
author | dan sinclair <dsinclair@chromium.org> | 2015-10-28 13:00:55 -0400 |
---|---|---|
committer | dan sinclair <dsinclair@chromium.org> | 2015-10-28 13:00:55 -0400 |
commit | aad3828aea84b504f98ddc94a11d88907f3144d9 (patch) | |
tree | 76f554f0af4a3e122592460b930cb15a474e70a0 /xfa/src/fxbarcode/utils.h | |
parent | 69472875a28a4e2d40623893e029af129f5e88e2 (diff) | |
download | pdfium-aad3828aea84b504f98ddc94a11d88907f3144d9.tar.xz |
Include cmath so we get std::isnan
We need to include the <cmath> header so std::isnan exists.
BUG=pdfium:250
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1411633006 .
Diffstat (limited to 'xfa/src/fxbarcode/utils.h')
-rw-r--r-- | xfa/src/fxbarcode/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxbarcode/utils.h b/xfa/src/fxbarcode/utils.h index e7df073d92..405f2f1677 100644 --- a/xfa/src/fxbarcode/utils.h +++ b/xfa/src/fxbarcode/utils.h @@ -63,7 +63,7 @@ class CBC_AutoPtr { #if (_FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_)
#define FXSYS_isnan(x) _isnan(x)
#elif(_FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_)
-#include <math.h>
+#include <cmath>
#define FXSYS_isnan(x) std::isnan(x)
#elif(_FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_ANDROID_)
#include <math.h>
|