Index: src/conversions.cc |
diff --git a/src/conversions.cc b/src/conversions.cc |
index 5bfddd04c01c025b3de2caf9cafbcbb0c6f8b549..cdc42e34d9ed9a77d73dfe9245621348d83c84c4 100644 |
--- a/src/conversions.cc |
+++ b/src/conversions.cc |
@@ -26,14 +26,19 @@ |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
#include <stdarg.h> |
-#include <math.h> |
#include <limits.h> |
+#include <cmath> |
#include "conversions-inl.h" |
#include "dtoa.h" |
#include "strtod.h" |
#include "utils.h" |
+#ifndef _STLP_VENDOR_CSTD |
+// STLPort doesn't import fpclassify into the std namespace. |
+using std::fpclassify; |
danno
2013/04/19 13:08:33
Did you actually test this?
jochen (gone - plz use gerrit)
2013/04/19 13:12:25
Yes, golem bails out without this
|
+#endif |
+ |
namespace v8 { |
namespace internal { |