The Beta of Firefox 3.6 / Gecko 1.9.2 introduces several new features for users to evaluate: * Support for the HTML5 File API * A change to how third-party software integrates with Firefox to increase stability. * The ability to run scripts asynchronously to speed up page load times. * A mechanism to prevent incompatible software from crashing Firefox. * Users can now change their browser's appearance with a single click, with built in support for Personas. * Firefox 3.6 will alert users about out of date plugins to keep them safe. * Open, native video can now be displayed full screen, and supports poster frames. * Support for the WOFF font format. * Improved JavaScript performance, overall browser responsiveness and startup time. * Support for new CSS, DOM and HTML5 web technologies. Thanks to: Andreas Tobler, Florian Smeets, Joseph S. Atkinson, miwi@
29 lines
592 B
C++
29 lines
592 B
C++
--- js/src/jsnum.cpp.orig 2009-10-14 18:03:30.000000000 +0200
|
|
+++ js/src/jsnum.cpp 2009-10-15 21:49:44.000000000 +0200
|
|
@@ -43,6 +43,9 @@
|
|
/*
|
|
* JS number type and wrapper class.
|
|
*/
|
|
+#if defined(__FreeBSD__)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
#ifdef XP_OS2
|
|
#define _PC_53 PC_53
|
|
#define _MCW_EM MCW_EM
|
|
@@ -691,8 +694,16 @@
|
|
|
|
#else
|
|
|
|
+#if defined(__FreeBSD__) && __FreeBSD_version >= 601000
|
|
+#include <fenv.h>
|
|
+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
|
|
+
|
|
+#else
|
|
+
|
|
#define FIX_FPU() ((void)0)
|
|
|
|
+#endif /* defined(__FreeBSD__) && __FreeBSD_version >= 503000 */
|
|
+
|
|
#endif
|
|
|
|
JSBool
|