aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-15 14:54:42 +0200
committerStefan Boberg <[email protected]>2021-09-15 14:54:42 +0200
commit876688e1aab536f5dc5af0c16aab99ad84c2c345 (patch)
tree65168b022968b32270ef95e7438103b6cd146527 /zencore/include
parentMerge branch 'main' into linux-mac (diff)
downloadzen-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.h2
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