summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2021-10-20 16:47:45 +0200
committerxenu <me@xenu.pl>2021-10-21 14:29:51 +0200
commite1f6bdff47d9854992351541267711595076ebe9 (patch)
tree7cf8a3f2db0161f1a0cd308a9d3811f5ad8ae60e
parent56077d95e0c5c575823e8dc912a857ad69c0feaf (diff)
downloadperl-e1f6bdff47d9854992351541267711595076ebe9.tar.gz
inline.h: remove superfluous Visual C++ version checks
We no longer support Visual C++ 2012 and older.
-rw-r--r--inline.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/inline.h b/inline.h
index 79155d8d13..c8fb089b7f 100644
--- a/inline.h
+++ b/inline.h
@@ -732,7 +732,7 @@ Perl_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
# endif
#endif
-#if defined(_MSC_VER) && _MSC_VER >= 1400
+#if defined(_MSC_VER)
# include <intrin.h>
# pragma intrinsic(_BitScanForward)
# pragma intrinsic(_BitScanReverse)
@@ -774,7 +774,7 @@ Perl_lsbit_pos64(U64 word)
return (unsigned) PERL_CTZ_64(word);
-# elif U64SIZE == 8 && defined(_MSC_VER) && _MSC_VER >= 1400
+# elif U64SIZE == 8 && defined(_MSC_VER)
# define PERL_HAS_FAST_GET_LSB_POS64
{
@@ -828,7 +828,7 @@ Perl_lsbit_pos32(U32 word)
return (unsigned) PERL_CTZ_32(word);
-#elif U32SIZE == 4 && defined(_MSC_VER) && _MSC_VER >= 1400
+#elif U32SIZE == 4 && defined(_MSC_VER)
# define PERL_HAS_FAST_GET_LSB_POS32
{
@@ -874,7 +874,7 @@ Perl_msbit_pos64(U64 word)
return (unsigned) LZC_TO_MSBIT_POS_(U64, PERL_CLZ_64(word));
-# elif U64SIZE == 8 && defined(_WIN64) && defined(_MSC_VER) && _MSC_VER >= 1400
+# elif U64SIZE == 8 && defined(_WIN64) && defined(_MSC_VER)
# define PERL_HAS_FAST_GET_MSB_POS64
{
@@ -931,7 +931,7 @@ Perl_msbit_pos32(U32 word)
return (unsigned) LZC_TO_MSBIT_POS_(U32, PERL_CLZ_32(word));
-#elif U32SIZE == 4 && defined(_MSC_VER) && _MSC_VER >= 1400
+#elif U32SIZE == 4 && defined(_MSC_VER)
# define PERL_HAS_FAST_GET_MSB_POS32
{