Skip to content

Commit 0bdcf50

Browse files
int386 is not available on OS/2 32-bit
1 parent 2dc119f commit 0bdcf50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hw/cpu/cpu.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,8 @@ static void set_cpu_flags(unsigned int f);
185185
parm [ax];
186186
#endif
187187

188-
#if defined(TARGET_WINDOWS) && TARGET_MSDOS == 32
188+
#if (defined(TARGET_WINDOWS) || defined(TARGET_OS2)) && TARGET_MSDOS == 32
189189
/* Watcom does not offer int86/int386 for Win32s/Win9x/NT/etc */
190-
#elif defined(__cplusplus)
191-
/* For reasons unknown to me, int386() isn't available from Watcom's C++ compiler */
192190
#else
193191
static inline void just_int86(unsigned char c,union REGS *r1,union REGS *r2) {
194192
# ifdef __386__

0 commit comments

Comments
 (0)