librempeg/compat
Martin Storsjö cc0cfa6fee compat: Fix the fallback definition of stdc_trailing_zeros
While shifting "value" to left, we would iterate through all bits
of an unsigned long long, while we only expect to count through
"size * CHAR_BIT" bits; instead shift bits to the right and just
count the trailing zeros.

This fixes fate with MSVC.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-09-25 21:37:11 +02:00
..
aix
atomics
cuda
dispatch_semaphore
djgpp
float
msvcrt
solaris
stdbit
windows
getopt.c
os2threads.h
strtod.c
va_copy.h
w32dlfcn.h
w32pthreads.h