[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash libbase/utility.h ChangeLog
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash libbase/utility.h ChangeLog |
Date: |
Fri, 06 Jun 2008 23:04:10 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/06/06 23:04:10
Modified files:
libbase : utility.h
. : ChangeLog
Log message:
Fixed a quirk on Leopard/BSD for isfinite();
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6846&r2=1.6847
Patches:
Index: libbase/utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- libbase/utility.h 6 Jun 2008 10:51:40 -0000 1.56
+++ libbase/utility.h 6 Jun 2008 23:04:09 -0000 1.57
@@ -97,11 +97,12 @@
inline bool isFinite(double d)
{
-#if defined(HAVE_FINITE) && !defined(isfinite)
+#if defined(HAVE_FINITE) && !defined(HAVE_ISFINITE)
return (finite(d));
#else
// Put using namespace std; here if you have to
// put it anywhere.
+ using namespace std;
return (isfinite(d));
#endif
}
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6846
retrieving revision 1.6847
diff -u -b -r1.6846 -r1.6847
--- ChangeLog 6 Jun 2008 22:57:23 -0000 1.6846
+++ ChangeLog 6 Jun 2008 23:04:09 -0000 1.6847
@@ -3,6 +3,7 @@
* configure.ac: #define HAVE_(IS)FINITE to 1 and removed
-Wunsafe-loop-optimizations since not all versions of
gcc supports it.
+ * utility.h: Fixed a quirk on Leopard/BSD for isfinite();
2008-06-06 Russ Nelson <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash libbase/utility.h ChangeLog,
Markus Gothe <=