input.c, don't use read() in __MINGW32__

This commit is contained in:
h_vogt 2017-02-12 23:02:43 +01:00 committed by rlar
parent d9e7ab2759
commit 31dca54eba
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ int
inchar(FILE *fp)
{
#if !(defined(HAS_WINGUI) || defined(_MSC_VER))
#if !(defined(HAS_WINGUI) || defined(_MSC_VER) || defined(__MINGW32__))
if (cp_interactive && !cp_nocc) {
char c;
ssize_t i;