gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog server/asobj/Number.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog server/asobj/Number.cpp
Date: Sat, 10 Feb 2007 18:54:17 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/02/10 18:54:16

Modified files:
        .              : ChangeLog 
        server/asobj   : Number.cpp 

Log message:
        Fixes for C99->C++98

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2306&r2=1.2307
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Number.cpp?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2306
retrieving revision 1.2307
diff -u -b -r1.2306 -r1.2307
--- ChangeLog   10 Feb 2007 18:27:37 -0000      1.2306
+++ ChangeLog   10 Feb 2007 18:54:16 -0000      1.2307
@@ -1,7 +1,7 @@
 2007-02-10 Markus Gothe <address@hidden>
 
        * server/asobj/Math.cpp: using namespace std;
-       * server/asobj/Number.cpp: using namespace std;
+       * server/asobj/Number.cpp: using namespace std; Fixes for C99->C++.
        * libbase/postscript.cpp: using namespace std;
        * libbase/tu_file.cpp: namespacing.
 

Index: server/asobj/Number.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Number.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/asobj/Number.cpp     10 Feb 2007 18:33:03 -0000      1.16
+++ server/asobj/Number.cpp     10 Feb 2007 18:54:16 -0000      1.17
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: Number.cpp,v 1.16 2007/02/10 18:33:03 nihilus Exp $ */
+/* $Id: Number.cpp,v 1.17 2007/02/10 18:54:16 nihilus Exp $ */
 
 // Implementation of ActionScript Number class.
 
@@ -37,6 +37,11 @@
 
 /* C99: 7.12 6 defines for floating point classification */
 
+#undef FP_ZERO
+#undef FP_SUBNORMAL
+#undef FP_NORMAL
+#undef FP_INFINITE
+#undef FP_NAN
 #define   FP_ZERO          1
 #define   FP_SUBNORMAL     2
 #define   FP_NORMAL        4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]