From 21b415468bc1a47cc7ecd6eea2a26f279bbeafff Mon Sep 17 00:00:00 2001 From: Bill-Gray Date: Tue, 23 Jul 2024 15:59:34 -0400 Subject: [PATCH] VT flavor : have to use basic I/O functions with Digital Mars compiler --- vt/pdcdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vt/pdcdisp.c b/vt/pdcdisp.c index 8b7206c8..d930c5ef 100644 --- a/vt/pdcdisp.c +++ b/vt/pdcdisp.c @@ -25,7 +25,7 @@ int PDC_get_terminal_fd( void) if( stdout_fd == -1) { -#ifdef _WIN32 +#if defined( _WIN32) || defined( __DMC__) /* if( FILE_TYPE_CHAR == GetFileType( GetStdHandle( STD_OUTPUT_HANDLE))) */ stdout_fd = 2; #else