diff --git a/Engine/source/console/engineFunctions.h b/Engine/source/console/engineFunctions.h index a7c2e214f..0e39983e4 100644 --- a/Engine/source/console/engineFunctions.h +++ b/Engine/source/console/engineFunctions.h @@ -108,11 +108,11 @@ private: std::tie(std::get(args)...) = defaultArgs; } -#if _MSC_VER >= 1910 +#if defined(_MSC_VER) && (_MSC_VER >= 1910) template struct DodgyVCHelper { - using type = typename std::enable_if::type; + using type = typename std::enable_if::type; }; template using MaybeSelfEnabled = typename DodgyVCHelper::type;