Search
lxdream.org :: lxdream/src/sh4/x86op.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/x86op.h
changeset 736:a02d1475ccfd
prev675:b97020f9af1c
next800:0d1be79c9b33
author nkeynes
date Wed Jul 30 22:50:44 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Bug #61: OpenBSD support
(Modified) patch from bsdmaniak, thanks!
file annotate diff log raw
1.1 --- a/src/sh4/x86op.h Mon May 26 11:01:42 2008 +0000
1.2 +++ b/src/sh4/x86op.h Wed Jul 30 22:50:44 2008 +0000
1.3 @@ -16,8 +16,12 @@
1.4 * GNU General Public License for more details.
1.5 */
1.6
1.7 -#ifndef __lxdream_x86op_H
1.8 -#define __lxdream_x86op_H
1.9 +#ifndef lxdream_x86op_H
1.10 +#define lxdream_x86op_H 1
1.11 +
1.12 +#ifdef __cplusplus
1.13 +extern "C" {
1.14 +#endif
1.15
1.16 #define R_NONE -1
1.17 #define R_EAX 0
1.18 @@ -305,4 +309,8 @@
1.19 /* Pseudo-op Load carry from T: CMP [EBP+t], #01 ; CMC */
1.20 #define LDC_t() OP(0x83); MODRM_r32_sh4r(7,R_T); OP(0x01); CMC()
1.21
1.22 -#endif /* !__lxdream_x86op_H */
1.23 +#ifdef __cplusplus
1.24 +}
1.25 +#endif
1.26 +
1.27 +#endif /* !lxdream_x86op_H */
.