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