From d9a44c661eee9b28eab17d24382819d0d65c53e6 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 27 Aug 2004 22:51:49 +0000 Subject: [PATCH] Don't use conio.h! *faint* --- src/conio/ciolib.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/conio/ciolib.h b/src/conio/ciolib.h index a6022d9581..3af19e08e4 100644 --- a/src/conio/ciolib.h +++ b/src/conio/ciolib.h @@ -12,12 +12,11 @@ enum { ,CIOLIB_MODE_CONIO }; -#if defined(__BORLANDC__) /* presumably, Win32 */ +#if defined(_WIN32) /* presumably, Win32 */ - #include <conio.h> #include <io.h> /* isatty */ -#else +#endif #ifndef BOOL #define BOOL int @@ -82,8 +81,6 @@ struct text_info { unsigned char cury; /* y-coordinate in current window */ }; -#endif - struct cio_mouse_event { int x; int y; -- GitLab