pkgsrc/lang/smlnj11072/patches/patch-ap

15 lines
467 B
Text

$NetBSD: patch-ap,v 1.2 2016/07/03 18:33:36 dholland Exp $
NetBSD support.
--- src/runtime/include/cache-flush.h.orig
+++ src/runtime/include/cache-flush.h
@@ -40,7 +40,7 @@
extern FlushICache (void *addr, int nbytes);
-#elif (defined(TARGET_PPC) && (defined(OPSYS_LINUX) || defined(OPSYS_DARWIN) ))
+#elif (defined(TARGET_PPC) && (defined(OPSYS_LINUX) || defined(OPSYS_DARWIN) || defined(OPSYS_NETBSD)))
extern FlushICache (void *addr, int nbytes);
#else