From efdb58ee3420d86b9d462b58286ccfc4f021640c Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 9 Aug 2004 23:51:31 +0000
Subject: [PATCH] Define conio structs and constants if not Borland C.

---
 src/conio/ciolib.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/conio/ciolib.h b/src/conio/ciolib.h
index 89a2c901f0..323e855cce 100644
--- a/src/conio/ciolib.h
+++ b/src/conio/ciolib.h
@@ -12,9 +12,11 @@ enum {
 	,CIOLIB_MODE_CONIO
 };
 
-#ifndef __unix__		/* presumably, Win32 */
-#include <conio.h>
-#include <io.h>			/* isatty */
+#if defined(__BORLANDC__)	/* presumably, Win32 */
+
+	#include <conio.h>
+	#include <io.h>			/* isatty */
+
 #else
 
 #ifndef BOOL
-- 
GitLab