Updated WavPack decoder binary to v5.1.0 (2017-01-20), compiled with ICL 18.0 and...
[LameXP.git] / etc / Patches / deprecated / Qt-v4.8.5-JavaScriptCore-MSVC12-Bugfix.V1.diff
blob3ae719a02740d72ee1784864ab76126cb6c4fe54
1 diff --git "a/D:\\Qt\\QtSource\\4.8.5-VS2013\\src\\3rdparty\\javascriptcore\\JavaScriptCore\\wtf\\MathExtras.org" "b/D:\\Qt\\QtSource\\4.8.5-VS2013\\src\\3rdparty\\javascriptcore\\JavaScriptCore\\wtf\\MathExtras.h"
2 index a18949e..27bdb50 100644
3 --- "a/D:\\Qt\\QtSource\\4.8.5-VS2013\\src\\3rdparty\\javascriptcore\\JavaScriptCore\\wtf\\MathExtras.org"
4 +++ "b/D:\\Qt\\QtSource\\4.8.5-VS2013\\src\\3rdparty\\javascriptcore\\JavaScriptCore\\wtf\\MathExtras.h"
5 @@ -125,7 +125,10 @@ inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); }
7 inline bool isinf(double num) { return !_finite(num) && !_isnan(num); }
8 inline bool isnan(double num) { return !!_isnan(num); }
10 +#if _MSC_VER < 1800
11 inline bool signbit(double num) { return _copysign(1.0, num) < 0; }
12 +#endif
14 inline double nextafter(double x, double y) { return _nextafter(x, y); }
15 inline float nextafterf(float x, float y) { return x > y ? x - FLT_EPSILON : x + FLT_EPSILON; }