summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2021-10-20 16:51:58 +0200
committerxenu <me@xenu.pl>2021-10-21 14:29:51 +0200
commita333292f05e3fc0ed682ccc8c12c33a4c9d7aafd (patch)
tree5a4079a92c18635c65e0335529ef956be1399f02 /inline.h
parente1f6bdff47d9854992351541267711595076ebe9 (diff)
downloadperl-a333292f05e3fc0ed682ccc8c12c33a4c9d7aafd.tar.gz
inline.h: _BitScanForward64 is available only on 64-bit architectures
Fixes #19205
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inline.h b/inline.h
index c8fb089b7f..e6fd4cb6a9 100644
--- a/inline.h
+++ b/inline.h
@@ -774,7 +774,7 @@ Perl_lsbit_pos64(U64 word)
return (unsigned) PERL_CTZ_64(word);
-# elif U64SIZE == 8 && defined(_MSC_VER)
+# elif U64SIZE == 8 && defined(_WIN64) && defined(_MSC_VER)
# define PERL_HAS_FAST_GET_LSB_POS64
{