mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
MSVC build fix
git-svn-id: https://svn.eduke32.com/eduke32@6945 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
89cfe15d64
commit
f181db5776
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ static uint32_t countTrailingZeros(uint32_t u)
|
|||
#if (defined __GNUC__ && __GNUC__>=3) || defined __clang__
|
||||
return __builtin_ctz(u);
|
||||
#elif defined _MSC_VER
|
||||
uint32_t result;
|
||||
DWORD result;
|
||||
_BitScanForward(&result, u);
|
||||
return result;
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue