aboutsummaryrefslogtreecommitdiffstats
path: root/src/w16select.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w16select.c')
-rw-r--r--src/w16select.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/w16select.c b/src/w16select.c
index d6951be4d82..c6a84e46a60 100644
--- a/src/w16select.c
+++ b/src/w16select.c
@@ -23,7 +23,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23 menus, and the Windows clipboard. */ 23 menus, and the Windows clipboard. */
24 24
25/* Written by Dale P. Smith <dpsm@en.com> */ 25/* Written by Dale P. Smith <dpsm@en.com> */
26/* Adapted to DJGPP v1 by Eli Zaretskii <eliz@is.elta.co.il> */ 26/* Adapted to DJGPP by Eli Zaretskii <eliz@gnu.org> */
27 27
28#ifdef MSDOS 28#ifdef MSDOS
29 29
@@ -94,25 +94,6 @@ static unsigned char *last_clipboard_text;
94/* The size of allocated storage for storing the clipboard data. */ 94/* The size of allocated storage for storing the clipboard data. */
95static size_t clipboard_storage_size; 95static size_t clipboard_storage_size;
96 96
97/* Emulation of `__dpmi_int' and friends for DJGPP v1.x */
98
99#if __DJGPP__ < 2
100
101typedef _go32_dpmi_registers __dpmi_regs;
102#define __tb _go32_info_block.linear_address_of_transfer_buffer
103#define _dos_ds _go32_info_block.selector_for_linear_memory
104
105static int
106__dpmi_int (intno, regs)
107 int intno;
108 __dpmi_regs *regs;
109{
110 regs->x.ss = regs->x.sp = regs->x.flags = 0;
111 return _go32_dpmi_simulate_int (intno, regs);
112}
113
114#endif /* __DJGPP__ < 2 */
115
116/* C functions to access the Windows 3.1x clipboard from DOS apps. 97/* C functions to access the Windows 3.1x clipboard from DOS apps.
117 98
118 The information was obtained from the Microsoft Knowledge Base, 99 The information was obtained from the Microsoft Knowledge Base,