add ifdef WIN mdport
This commit is contained in:
@@ -705,7 +705,9 @@ md_erasechar()
|
|||||||
#elif defined(VERASE)
|
#elif defined(VERASE)
|
||||||
return(_tty.c_cc[VERASE]); /* process erase character */
|
return(_tty.c_cc[VERASE]); /* process erase character */
|
||||||
#else
|
#else
|
||||||
|
#ifndef __MINGW32__
|
||||||
return(_tty.sg_erase); /* process erase character */
|
return(_tty.sg_erase); /* process erase character */
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -717,7 +719,9 @@ md_killchar()
|
|||||||
#elif defined(VKILL)
|
#elif defined(VKILL)
|
||||||
return(_tty.c_cc[VKILL]);
|
return(_tty.c_cc[VKILL]);
|
||||||
#else
|
#else
|
||||||
|
#ifndef __MINGW32__
|
||||||
return(_tty.sg_kill);
|
return(_tty.sg_kill);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user