From 3d732625a748b0ea33a4ba1d017653b61d680fb6 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Sat, 27 Jan 2001 17:04:51 +0000 Subject: [PATCH] Cleanups. committer: mfx 980615091 +0000 --- src/s_djgpp2.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/s_djgpp2.cpp b/src/s_djgpp2.cpp index 55b5b9fb..fc79f6b4 100644 --- a/src/s_djgpp2.cpp +++ b/src/s_djgpp2.cpp @@ -311,13 +311,10 @@ static int init(screen_t *this, int fd) if (getPage(this) != 0) return -1; -#if 1 +#if 1 && defined(__DJGPP__) /* check for Windows NT/2000 */ - { - unsigned v = _get_dos_version(1); - if (v == 0x0532) - return -1; - } + if (_get_dos_version(1) == 0x0532) + return -1; #endif cols = ScreenCols();