2011-07-18 22:58:38 +00:00
|
|
|
_finite is obsoleted and C99 has isfinite instead so we should use it
|
|
|
|
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
Upstream-Status: Pending
|
|
|
|
|
|
|
|
Index: clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h
|
|
|
|
===================================================================
|
|
|
|
--- clutter-box2d-0.10.0.orig/box2d/Source/Common/b2Math.h 2008-12-16 06:42:10.000000000 -0800
|
2011-07-21 00:18:27 +00:00
|
|
|
+++ clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h 2011-07-20 16:41:02.046430743 -0700
|
2011-07-18 22:58:38 +00:00
|
|
|
@@ -60,7 +60,7 @@
|
2011-07-22 09:04:04 +00:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
return _finite(x) != 0;
|
|
|
|
#else
|
|
|
|
- return finite(x) != 0;
|
|
|
|
+ return std::isfinite(x) != 0;
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|