openbsd-ports/emulators/spim/patches/patch-CPU_run_c

16 lines
317 B
Plaintext

$OpenBSD: patch-CPU_run_c,v 1.2 2010/09/03 16:17:19 sthen Exp $
Fix build on OpenBSD's mips architectures.
--- CPU/run.c.orig Wed Aug 25 18:33:09 2010
+++ CPU/run.c Wed Aug 25 18:33:38 2010
@@ -25,7 +25,7 @@
*/
-#ifdef mips
+#if defined(mips) && !defined(__OpenBSD__)
#define _IEEE 1
#include <nan.h>
#else