mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
It looks like this works in MSVC
git-svn-id: https://svn.eduke32.com/eduke32@7706 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ccdba037b5
commit
7f32add116
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
/* 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 <typename T>
|
template <typename T>
|
||||||
static FORCE_INLINE CONSTEXPR take_sign_t<int16_t, T> B_SWAP16(T x)
|
static FORCE_INLINE CONSTEXPR take_sign_t<int16_t, T> B_SWAP16(T x)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue