diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-21 14:35:53 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-21 14:35:53 +0000 |
commit | 886cd48fd05e54d74fa26f93224ba2794aa024ec (patch) | |
tree | 2f169740b60c38ce5a8136f62107aba93cf6342e /emulators/dosbox | |
parent | Fix build error with LOCALBASE different from /usr/local. (diff) |
- Fix build with gcc 3.4
Obtained from: Dosbox CVS
Notes
Notes:
svn path=/head/; revision=116949
Diffstat (limited to 'emulators/dosbox')
-rw-r--r-- | emulators/dosbox/files/patch-include-dos_inc.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/emulators/dosbox/files/patch-include-dos_inc.h b/emulators/dosbox/files/patch-include-dos_inc.h new file mode 100644 index 000000000000..08ea8b3f171d --- /dev/null +++ b/emulators/dosbox/files/patch-include-dos_inc.h @@ -0,0 +1,33 @@ +diff -u -r1.43 -r1.44 +--- include/dos_inc.h 2004/05/05 21:56:04 1.43 ++++ include/dos_inc.h 2004/05/15 07:57:02 1.44 +@@ -214,22 +214,22 @@ + + class MemStruct { + public: +- INLINE Bit8u GetIt(Bit8u&,PhysPt addr) { ++ INLINE Bit8u GetIt(Bit8u,PhysPt addr) { + return mem_readb(pt+addr); + } +- INLINE Bit16u GetIt(Bit16u&,PhysPt addr) { ++ INLINE Bit16u GetIt(Bit16u,PhysPt addr) { + return mem_readw(pt+addr); + } +- INLINE Bit32u GetIt(Bit32u&,PhysPt addr) { ++ INLINE Bit32u GetIt(Bit32u,PhysPt addr) { + return mem_readd(pt+addr); + } +- INLINE void SaveIt(Bit8u&,PhysPt addr,Bit8u val) { ++ INLINE void SaveIt(Bit8u,PhysPt addr,Bit8u val) { + mem_writeb(pt+addr,val); + } +- INLINE void SaveIt(Bit16u&,PhysPt addr,Bit16u val) { ++ INLINE void SaveIt(Bit16u,PhysPt addr,Bit16u val) { + mem_writew(pt+addr,val); + } +- INLINE void SaveIt(Bit32u&,PhysPt addr,Bit32u val) { ++ INLINE void SaveIt(Bit32u,PhysPt addr,Bit32u val) { + mem_writed(pt+addr,val); + } + INLINE void SetPt(Bit16u seg) { pt=PhysMake(seg,0);} + |