input.c, simplify #ifdef for the broken visual studio _read()

If we have _MSC_VER so we have either CONSOLE HAS_WINGUI or SHARED_MODULE
If we have SHARED_MODULE, then we most certainly don't need
  the unbuffered read(), which isn't unbuffered on _MSC_VER anyway.
Thus _MSC_VER is sufficient.
This commit is contained in:
rlar 2017-02-12 19:24:43 +01:00
parent 1475df2aa4
commit d9e7ab2759
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) && defined(CONSOLE))
#if !(defined(HAS_WINGUI) || defined(_MSC_VER))
if (cp_interactive && !cp_nocc) {
char c;
ssize_t i;