gnash-commit
[Top][All Lists]
Advanced

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

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


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog server/asobj/Date.cpp
Date: Tue, 27 Feb 2007 23:42:27 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/02/27 23:42:26

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

Log message:
        #ifndef NAN
                #define NAN (0.0/0.0)
        #endif

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2485&r2=1.2486
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Date.cpp?cvsroot=gnash&r1=1.26&r2=1.27

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2485
retrieving revision 1.2486
diff -u -b -r1.2485 -r1.2486
--- ChangeLog   27 Feb 2007 23:04:01 -0000      1.2485
+++ ChangeLog   27 Feb 2007 23:42:26 -0000      1.2486
@@ -1,3 +1,8 @@
+2007-02-26 Markus Gothe <address@hidden>
+
+       * server/asobj/Date.cpp: #define NAN (0.0/0.0) as this is not comp.
+         with C++98 and non-GCC compilers borks.
+
 2007-02-27 Martin Guy <address@hidden>
 
        * server/asobj/Date.cpp: Implement Date.UTC(). It is not yet

Index: server/asobj/Date.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Date.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- server/asobj/Date.cpp       27 Feb 2007 22:45:51 -0000      1.26
+++ server/asobj/Date.cpp       27 Feb 2007 23:42:26 -0000      1.27
@@ -100,6 +100,10 @@
 # include <sys/time.h>
 #endif
 
+#ifndef NAN
+       #define NAN (0.0/0.0)
+#endif
+
 // Declaration for replacement timezone functions
 // In the absence of gettimeofday() we use ftime() to get milliseconds,
 // but not for timezone offset bcos ftime's TZ stuff is unreliable.




reply via email to

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