From 8a77a477dfb8cb5d398c9e4a6c24fcce8c9ef101 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Fri, 29 Dec 2000 12:26:29 +0000 Subject: [PATCH] Do not use the screen code when running under Windows NT. committer: mfx 978092789 +0000 --- src/s_djgpp2.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/s_djgpp2.cpp b/src/s_djgpp2.cpp index 96c1811c..7f77197c 100644 --- a/src/s_djgpp2.cpp +++ b/src/s_djgpp2.cpp @@ -311,6 +311,15 @@ static int init(screen_t *this, int fd) if (getPage(this) != 0) return -1; +#if 1 + /* check for Windows NT/2000 */ + { + unsigned v = _get_dos_version(1); + if (v == 0x0532) + return -1; + } +#endif + cols = ScreenCols(); rows = ScreenRows(); mode = getMode(this);