openbsd-ports/www/mozilla-firefox/patches/patch-js_src_jsnum_h

13 lines
474 B
Plaintext
Raw Normal View History

$OpenBSD: patch-js_src_jsnum_h,v 1.4 2010/04/26 19:55:58 landry Exp $
--- js/src/jsnum.h.orig Wed Jan 6 05:35:17 2010
+++ js/src/jsnum.h Sun Jan 10 17:47:27 2010
@@ -65,7 +65,7 @@ JS_BEGIN_EXTERN_C
* the high and low words are in big endian order).
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#if !defined(__VFP_FP__)
+#if !defined(__VFP_FP__) && !defined(__OpenBSD__) /* Armel ABI */
#define FPU_IS_ARM_FPA
#endif
#endif