openbsd-ports/www/fennec/patches/patch-js_src_jsnum_h
2011-06-28 22:01:17 +00:00

13 lines
456 B
Plaintext

$OpenBSD: patch-js_src_jsnum_h,v 1.3 2011/06/28 22:01:18 landry Exp $
--- js/src/jsnum.h.orig Fri Aug 6 03:09:08 2010
+++ js/src/jsnum.h Sun Aug 15 14:08:46 2010
@@ -68,7 +68,7 @@
* 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