Skip to content

Commit 2dc119f

Browse files
_dos_setvect was not available because the OS/2 target does not provide it, not because of C++ linking problems
1 parent 394452b commit 2dc119f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cxx/8254.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535

3636
#ifdef TARGET_WINDOWS
3737
/* no interrupts */
38-
#elif defined(__cplusplus)
39-
/* why are dos_getvect() and dos_setvect() not available in C++ mode? */
4038
#else
4139
# define HOOK_IRQ
4240
#endif

cxx/common.mak

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ TEST_EXE = $(SUBDIR)$(HPS)test.$(EXEEXT)
3636

3737
!ifdef TARGET_WINDOWS
3838
!else
39+
! ifdef TARGET_OS2
40+
! else
3941
8254_EXE = $(SUBDIR)$(HPS)8254.$(EXEEXT)
42+
! endif
4043
!endif
4144

4245
exe: $(TEST_EXE) $(8254_EXE) .symbolic

0 commit comments

Comments
 (0)