瀏覽代碼

Merge pull request #2225 from Azaezel/defineDistaste

stop linux/mac  undefined MSVC versioncheck spam.
Areloch 7 年之前
父節點
當前提交
918509d59a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/console/engineFunctions.h

+ 1 - 1
Engine/source/console/engineFunctions.h

@@ -108,7 +108,7 @@ private:
       std::tie(std::get<I + (sizeof...(ArgTs) - sizeof...(TailTs))>(args)...) = defaultArgs;
    }
    
-#if _MSC_VER >= 1910
+#if defined(_MSC_VER) && (_MSC_VER >= 1910)
    template<typename ...TailTs>
    struct DodgyVCHelper
    {