openbsd-ports/www/minimo/patches/patch-js_src_jsnum_h

13 lines
415 B
Plaintext

$OpenBSD: patch-js_src_jsnum_h,v 1.2 2007/11/13 21:24:48 martynas Exp $
--- js/src/jsnum.h.orig Thu Nov 1 22:52:24 2007
+++ js/src/jsnum.h Fri Nov 9 15:33:55 2007
@@ -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