summaryrefslogtreecommitdiff
path: root/emulators/hercules/patches/patch-ao
blob: 688e7cbf57f3aef2ab2c212c5c64d2234abbf81a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ao,v 1.1 2001/05/11 11:17:40 dmcmahill Exp $

regparm is only for i386

--- opcode.h.orig	Sat Feb 10 08:46:27 2001
+++ opcode.h	Tue May  8 18:48:56 2001
@@ -70,5 +70,9 @@
 
 
+#ifdef __i386__
 typedef __attribute__ ((regparm(3))) void (*zz_func) (BYTE inst[], int execflag, REGS *regs);
+#else
+typedef void (*zz_func) (BYTE inst[], int execflag, REGS *regs);
+#endif
 
 extern zz_func opcode_table[][GEN_MAXARCH];