From 12fbe5b8f486c074dde6346ae8c2932eb35c81fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= Date: Sun, 22 Sep 2024 14:31:49 +0000 Subject: [PATCH] [Fix] openmpt123: We do only need IsConsole() if !MPT_WINRT_BEFORE(MPT_WIN_10). git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21683 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- openmpt123/openmpt123.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmpt123/openmpt123.hpp b/openmpt123/openmpt123.hpp index b57a48fa77..06cad641f5 100644 --- a/openmpt123/openmpt123.hpp +++ b/openmpt123/openmpt123.hpp @@ -140,7 +140,7 @@ struct field { }; -#if MPT_OS_WINDOWS +#if MPT_OS_WINDOWS && !MPT_WINRT_BEFORE(MPT_WIN_10) bool IsConsole( DWORD stdHandle ); #endif bool IsTerminal( int fd );