blob: 00bfe5a55c338df66117abcc19a26897979e7323 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-js_src_jit_arm_Architecture-arm.cpp,v 1.3 2014/12/02 21:27:18 ryoon Exp $
--- js/src/jit/arm/Architecture-arm.cpp.orig 2014-11-26 12:30:07.000000000 +0000
+++ js/src/jit/arm/Architecture-arm.cpp
@@ -16,7 +16,7 @@
#include "jit/arm/Assembler-arm.h"
#include "jit/RegisterSets.h"
-#if defined(ANDROID) || defined(JS_ARM_SIMULATOR)
+#if defined(ANDROID) || defined(JS_ARM_SIMULATOR) || defined(__NetBSD__)
// The Android NDK and B2G do not include the hwcap.h kernel header, and it is not
// defined when building the simulator, so inline the header defines we need.
# define HWCAP_VFP (1 << 6)
|