mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1007050 - Remove std::isinf workaround for MSVS. r=Waldo
This commit is contained in:
parent
88affc4d10
commit
4b6d56e4ff
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user