Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdefl.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ extern "C" {
static int
sdefl_ilog2(int n) {
if (!n) return 0;
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
unsigned long msbp = 0;
_BitScanReverse(&msbp, (unsigned long)n);
return (int)msbp;
Expand Down
2 changes: 1 addition & 1 deletion sinfl.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ extern "C" {

static int
sinfl_bsr(unsigned long n) {
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
unsigned long r = 0;
_BitScanReverse(&r, n);
return (int)(r);
Expand Down