We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74f9c6 commit 3dd51e3Copy full SHA for 3dd51e3
inc/base/float_util.h
@@ -7,6 +7,7 @@
7
8
#include "build/build_config.h"
9
10
+#include <cmath>
11
#include <float.h>
12
#include <math.h>
13
@@ -15,7 +16,7 @@ namespace base {
15
16
template <typename Float>
17
inline bool IsFinite(const Float& number) {
18
#if defined(OS_POSIX)
- return isfinite(number) != 0;
19
+ return std::isfinite(number) != 0;
20
#elif defined(OS_WIN)
21
return _finite(number) != 0;
22
#endif
wd_build_options.gypi
@@ -11,6 +11,7 @@
'-Wall',
'-W',
'-Wno-unused-parameter',
14
+ '-std=gnu++11',
],
'defines': [
0 commit comments