diff options
| author | Stefan Boberg <[email protected]> | 2021-09-15 14:54:42 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-15 14:54:42 +0200 |
| commit | 876688e1aab536f5dc5af0c16aab99ad84c2c345 (patch) | |
| tree | 65168b022968b32270ef95e7438103b6cd146527 /zencore/include | |
| parent | Merge branch 'main' into linux-mac (diff) | |
| download | zen-876688e1aab536f5dc5af0c16aab99ad84c2c345.tar.xz zen-876688e1aab536f5dc5af0c16aab99ad84c2c345.zip | |
Fixed up bit scan logic for clang-cl
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/intmath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/intmath.h b/zencore/include/zencore/intmath.h index 85447c17a..814a03df4 100644 --- a/zencore/include/zencore/intmath.h +++ b/zencore/include/zencore/intmath.h @@ -9,7 +9,7 @@ ////////////////////////////////////////////////////////////////////////// -#if ZEN_COMPILER_MSC +#if ZEN_COMPILER_MSC || ZEN_PLATFORM_WINDOWS # pragma intrinsic(_BitScanReverse) # pragma intrinsic(_BitScanReverse64) #else |