add ifndef WIN

This commit is contained in:
ca333
2019-02-19 19:44:50 +01:00
committed by GitHub
parent 4bf1256a68
commit 1be8baf63b

View File

@@ -410,11 +410,13 @@ int32_t wgetnstr(WINDOW *win, char *str, int32_t n) // stub
return(0); return(0);
} }
#ifndef __MINGW32__
int32_t getch(void) int32_t getch(void)
{ {
fprintf(stderr,"unexpected and unsupported call to getch\n"); fprintf(stderr,"unexpected and unsupported call to getch\n");
return(0); return(0);
} }
#endif
int32_t md_readchar(void) int32_t md_readchar(void)
{ {