Explorar o código

Merge pull request #2225 from Azaezel/defineDistaste

stop linux/mac  undefined MSVC versioncheck spam.
Areloch %!s(int64=7) %!d(string=hai) anos
pai
achega
918509d59a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
    {