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
/*
|
|