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);