Mercurial > mxe-octave
diff src/readline-1-display.patch @ 3152:4ce61d3172f0
[MSVC] align readline behavior to MinGW, remove _MSC_VER specifics
- fix DLL prefix to avoid double "lib"
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 18 Jul 2013 19:33:03 -0400 |
parents | 2cf09b449d88 |
children |
line wrap: on
line diff
--- a/src/readline-1-display.patch Thu Jul 18 16:19:54 2013 -0400 +++ b/src/readline-1-display.patch Thu Jul 18 19:33:03 2013 -0400 @@ -107,21 +107,3 @@ if (_rl_term_clrpag) tputs (_rl_term_clrpag, 1, _rl_output_character_function); else -@@ -2353,7 +2424,7 @@ - char *string; - int count, col; - { --#if defined (__MSDOS__) || defined (__MINGW32__) -+#if defined (__MSDOS__) || (defined (__MINGW32__) && !defined (_MSC_VER)) - _rl_output_some_chars (string, count); - #else - /* DEBUGGING */ -@@ -2405,7 +2476,7 @@ - if (count > _rl_screenwidth) /* XXX */ - return; - --#if !defined (__MSDOS__) && !defined (__MINGW32__) -+#if (!defined (__MSDOS__) && !defined (__MINGW32__)) || defined (_MSC_VER) - if (_rl_term_DC && *_rl_term_DC) - { - char *buffer;