gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/libbase tu_math.h


From: Markus Gothe
Subject: [Gnash-commit] gnash/libbase tu_math.h
Date: Thu, 12 Oct 2006 14:15:56 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/10/12 14:15:56

Modified files:
        libbase        : tu_math.h 

Log message:
        Keeping away GNUisms and Lions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_math.h?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: tu_math.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_math.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- tu_math.h   12 Oct 2006 14:05:42 -0000      1.14
+++ tu_math.h   12 Oct 2006 14:15:56 -0000      1.15
@@ -28,6 +28,7 @@
     #define powf pow
 #elif !defined(__GNUC__) //Non gnuism...
     #define sinf std::sinf
+    #define floorf std::floorf
     #define cosf std::cosf
     #define tanf std::tanf
     #define asinf std::asinf
@@ -39,6 +40,8 @@
     #define expf std::expf
     #define fabsf std::fabsf
     #define powf std::powf
+    #define ceilf std::ceilf
+    #define sqrt std::sqrt
 #endif
 
 // isfinite() comes with C99; fake version here in case compiler lacks it.




reply via email to

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