pkgsrc/lang/smlnj/patches/patch-aq
2016-04-14 22:04:47 +00:00

15 lines
463 B
Text

$NetBSD: patch-aq,v 1.3 2016/04/14 22:04:47 dholland Exp $
NetBSD support.
--- src/runtime/mach-dep/PPC.prim.asm.orig
+++ src/runtime/mach-dep/PPC.prim.asm
@@ -813,7 +813,7 @@
lfd f31, 136(r3)
blr
-#if (defined(TARGET_PPC) && (defined(OPSYS_LINUX) || defined(OPSYS_DARWIN) ))
+#if (defined(TARGET_PPC) && (defined(OPSYS_LINUX) || defined(OPSYS_DARWIN) || defined(OPSYS_NETBSD) ))
#define CACHE_LINE_SZB 32
#define CACHE_LINE_MASK (CACHE_LINE_SZB-1)