Bring back the non-compliant define, but version limited

As noted, we've done something we shouldn't have with MSVC compiler specific defines.  But to avoid breaking the MSVC build environment, leave this define in there until the MSVC version when it is actually exposed by the compiler itself (v16.8).
This commit is contained in:
Bevan Weiss 2020-08-15 02:11:35 +10:00 committed by Ani
parent a11afe05bf
commit 01d3585bf3

View File

@ -17,6 +17,11 @@
#include <limits>
#include <array>
#ifdef _MSC_VER
#ifndef __cpp_lib_bitops && _MSC_VER < 1928
#define __cpp_lib_bitops
#endif
#endif
#include <bit>
#ifndef __has_builtin