X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/114f9c96795aff3b51b9060d7c9c1b77debcc99a..ff5dec5cd103f6a9b030d295b014f0ff81025def:/src/w16select.c diff --git a/src/w16select.c b/src/w16select.c index d6951be4d8..c6a84e46a6 100644 --- a/src/w16select.c +++ b/src/w16select.c @@ -23,7 +23,7 @@ along with GNU Emacs. If not, see . */ menus, and the Windows clipboard. */ /* Written by Dale P. Smith */ -/* Adapted to DJGPP v1 by Eli Zaretskii */ +/* Adapted to DJGPP by Eli Zaretskii */ #ifdef MSDOS @@ -94,25 +94,6 @@ static unsigned char *last_clipboard_text; /* The size of allocated storage for storing the clipboard data. */ static size_t clipboard_storage_size; -/* Emulation of `__dpmi_int' and friends for DJGPP v1.x */ - -#if __DJGPP__ < 2 - -typedef _go32_dpmi_registers __dpmi_regs; -#define __tb _go32_info_block.linear_address_of_transfer_buffer -#define _dos_ds _go32_info_block.selector_for_linear_memory - -static int -__dpmi_int (intno, regs) - int intno; - __dpmi_regs *regs; -{ - regs->x.ss = regs->x.sp = regs->x.flags = 0; - return _go32_dpmi_simulate_int (intno, regs); -} - -#endif /* __DJGPP__ < 2 */ - /* C functions to access the Windows 3.1x clipboard from DOS apps. The information was obtained from the Microsoft Knowledge Base,