aboutsummaryrefslogtreecommitdiff
path: root/readline/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/display.c')
-rw-r--r--readline/display.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/readline/display.c b/readline/display.c
index e7b7591..b9bb2d3 100644
--- a/readline/display.c
+++ b/readline/display.c
@@ -1907,9 +1907,9 @@ insert_some_chars (string, count, col)
char *string;
int count, col;
{
-#ifdef __MSDOS__
+#if defined(__MSDOS__) || defined(__MINGW32__)
_rl_output_some_chars (string, count);
-#else /* !__MSDOS__ */
+#else /* !__MSDOS__ && !__MINGW32__ */
/* DEBUGGING */
if (MB_CUR_MAX == 1 || rl_byte_oriented)
if (count != col)
@@ -1959,7 +1959,7 @@ delete_chars (count)
if (count > _rl_screenwidth) /* XXX */
return;
-#ifndef __MSDOS__
+#if !defined(__MSDOS__) && !defined(__MINGW32__)
if (_rl_term_DC && *_rl_term_DC)
{
char *buffer;
@@ -1972,7 +1972,7 @@ delete_chars (count)
while (count--)
tputs (_rl_term_dc, 1, _rl_output_character_function);
}
-#endif /* !__MSDOS__ */
+#endif /* !__MSDOS__ && !__MINGW32__ */
}
void