[csw-devel] SF.net SVN: gar:[2347] csw/trunk/apps/firefox/files/nsMathUtils.h.diff

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sun Nov 23 22:08:21 CET 2008


Revision: 2347
          http://gar.svn.sourceforge.net/gar/?rev=2347&view=rev
Author:   wbonnet
Date:     2008-11-23 21:08:21 +0000 (Sun, 23 Nov 2008)

Log Message:
-----------
Update FF3 patches

Added Paths:
-----------
    csw/trunk/apps/firefox/files/nsMathUtils.h.diff

Added: csw/trunk/apps/firefox/files/nsMathUtils.h.diff
===================================================================
--- csw/trunk/apps/firefox/files/nsMathUtils.h.diff	                        (rev 0)
+++ csw/trunk/apps/firefox/files/nsMathUtils.h.diff	2008-11-23 21:08:21 UTC (rev 2347)
@@ -0,0 +1,14 @@
+diff --speed-large-files --minimal -Nru firefox.orig/xpcom/ds/nsMathUtils.h firefox/xpcom/ds/nsMathUtils.h
+--- firefox.orig/xpcom/ds/nsMathUtils.h    2008-04-02 00:21:31.000000000 -0400
++++ firefox/xpcom/ds/nsMathUtils.h       2008-11-22 18:22:11.384668100 -0500
+@@ -42,6 +42,10 @@
+ #include <math.h>
+ #include <float.h>
+
++# define floorf(a)    floor (a)
++# define ceilf(a)     ceil (a)
++# define round(a)     floor(a + 0.5)
++
+ /*
+  * round
+  */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list