openbsd-ports/devel/xulrunner/patches/patch-js_src_jsnum_h
2008-02-12 16:09:23 +00:00

13 lines
412 B
Plaintext

$OpenBSD: patch-js_src_jsnum_h,v 1.1 2008/02/12 16:09:23 sthen Exp $
--- js/src/jsnum.h.orig Mon Feb 11 19:56:18 2008
+++ js/src/jsnum.h Mon Feb 11 19:57:23 2008
@@ -61,7 +61,7 @@ JS_BEGIN_EXTERN_C
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#ifndef __QNXNTO__
+#if !defined(__QNXNTO__) && !defined(__OpenBSD__) /* Armel ABI */
#define CPU_IS_ARM
#endif
#endif