mirror of https://github.com/raysan5/raylib
Use builtin_clz for clang on windows (#3939)
This commit is contained in:
parent
10e702facd
commit
f78721991f
|
@ -171,7 +171,7 @@ extern int zsinflate(void *out, int cap, const void *in, int size);
|
|||
|
||||
static int
|
||||
sinfl_bsr(unsigned n) {
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
_BitScanReverse(&n, n);
|
||||
return n;
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
|
|
Loading…
Reference in New Issue