Bug 1007050 - Remove std::isinf workaround for MSVS. r=Waldo

This commit is contained in:
Makoto Kato 2015-07-23 14:52:29 +09:00
parent 88affc4d10
commit 4b6d56e4ff

View File

@ -38,14 +38,6 @@
ClassName(const ClassName&) = delete; \
void operator=(const ClassName&) = delete;
#if defined(_MSC_VER)
namespace std {
inline bool isinf(double num) { return mozilla::IsInfinite(num); }
inline bool isnan(double num) { return mozilla::IsNaN(num); }
inline bool isfinite(double num) { return mozilla::IsFinite(num); }
}
#endif
typedef std::string String;
double mozToDouble(const String &aStr, bool *valid) {