OSSP CVS Repository

ossp - Check-in [5499]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5499
Date: 2006-Jul-22 16:14:11 (local)
2006-Jul-22 14:14:11 (UTC)
User:rse
Branch:
Comment: use fdlibm on all platforms except Linux, Solaris and FreeBSD
Tickets:
Inspections:
Files:
ossp-pkg/js/src/jslibmath.h      1.1 -> 1.2     9 inserted, 0 deleted

ossp-pkg/js/src/jslibmath.h 1.1 -> 1.2

--- jslibmath.h  2005/04/29 13:33:47     1.1
+++ jslibmath.h  2006/07/22 14:14:11     1.2
@@ -83,6 +83,15 @@
 #define JS_USE_FDLIBM_MATH 0
 #endif
 
+#ifdef OSSP
+#undef JS_USE_FDLIBM_MATH
+#if defined(__Linux__) || defined(__sun) || defined(__FreeBSD__)
+#define JS_USE_FDLIBM_MATH 0
+#else
+#define JS_USE_FDLIBM_MATH 1
+#endif
+#endif
+
 #if !JS_USE_FDLIBM_MATH
 
 /*

CVSTrac 2.0.1