summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/qnx-math.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/qnx-math.h')
-rw-r--r--chromium/v8/src/qnx-math.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/v8/src/qnx-math.h b/chromium/v8/src/qnx-math.h
new file mode 100644
index 00000000000..8cf65d208cb
--- /dev/null
+++ b/chromium/v8/src/qnx-math.h
@@ -0,0 +1,19 @@
+// Copyright 2013 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8_QNX_MATH_H_
+#define V8_QNX_MATH_H_
+
+#include <cmath>
+
+#undef fpclassify
+#undef isfinite
+#undef isinf
+#undef isnan
+#undef isnormal
+#undef signbit
+
+using std::lrint;
+
+#endif // V8_QNX_MATH_H_