diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-07-23 00:58:39 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-07-23 00:58:39 +0800 |
commit | 6a28b7af38254004d96e9729be1a99a1235c78f9 (patch) | |
tree | 09a02757d2e99583244cbd067dafe01eb3c12591 | |
parent | e81a93b4b4bc16cf71b16a06b1e68a3cf4a2bb7b (diff) | |
download | freebsd-ports-gnome-6a28b7af38254004d96e9729be1a99a1235c78f9.tar.gz freebsd-ports-gnome-6a28b7af38254004d96e9729be1a99a1235c78f9.tar.zst freebsd-ports-gnome-6a28b7af38254004d96e9729be1a99a1235c78f9.zip |
- Fix building on non-i386 with GCC 4.2 (on i386 assembly code is used).
Reported by: pav
-rw-r--r-- | emulators/generator/files/patch-cmz80__z80.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/generator/files/patch-cmz80__z80.c b/emulators/generator/files/patch-cmz80__z80.c new file mode 100644 index 000000000000..365c2b00ffcc --- /dev/null +++ b/emulators/generator/files/patch-cmz80__z80.c @@ -0,0 +1,20 @@ +--- cmz80/z80.c.orig Mon Oct 29 20:07:24 2001 ++++ cmz80/z80.c Sun Jul 22 13:54:12 2007 +@@ -633,7 +633,7 @@ + #endif + } + +-/* inline */ static BYTE Inc(BYTE bArg) ++/* inline */ BYTE Inc(BYTE bArg) + { + #ifdef ARITH_TABLES + bArg++; +@@ -646,7 +646,7 @@ + #endif + } + +-/* inline */ static BYTE Dec(BYTE bArg) ++/* inline */ BYTE Dec(BYTE bArg) + { + #ifdef ARITH_TABLES + m_regF = (m_regF & C_FLAG) | rgfDec[bArg--]; |