diff --git a/source/build/include/compat.h b/source/build/include/compat.h index ee8e0f344..68730b3fc 100644 --- a/source/build/include/compat.h +++ b/source/build/include/compat.h @@ -960,7 +960,7 @@ static FORCE_INLINE CONSTEXPR uint64_t B_SWAP64_impl(uint64_t value) } /* The purpose of B_PASS* as functions, as opposed to macros, is to prevent them from being used as lvalues. */ -#if CXXSTD >= 2011 +#if CXXSTD >= 2011 || EDUKE32_MSVC_PREREQ(1900) template static FORCE_INLINE CONSTEXPR take_sign_t B_SWAP16(T x) {