From 405c8ccfd116a25b33bd353ea41ff82e229372db Mon Sep 17 00:00:00 2001 From: Azaezel Date: Sun, 18 Mar 2018 18:51:10 -0500 Subject: [PATCH] stop linux/mac undefined MSVC versioncheck spam. --- Engine/source/console/engineFunctions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;