ref: 2cce1d26159a79ff9a266c117c6c5ecee8f18df3
parent: 515e26673dff988985d136cc9246724efe5866b9
author: Martin Storsjö <[email protected]>
date: Thu Oct 25 07:54:55 EDT 2018
attributes: Fix leftover mismatched else/endif comments These went out of sync in 227b7eae7a.
--- a/include/common/attributes.h
+++ b/include/common/attributes.h
@@ -93,7 +93,7 @@
_BitScanReverse64(&leading_zero, mask);
return (63 - leading_zero);
}
-#else /* _M_IX86 */
+#else /* _WIN64 */
static inline int clzll(const unsigned long long mask) {
if (mask >> 32)
return clz((unsigned)(mask >> 32));
@@ -100,7 +100,7 @@
else
return clz((unsigned)mask) + 32;
}
-#endif /* _M_IX86 */
+#endif /* _WIN64 */
#else /* !_MSC_VER */
static inline int ctz(const unsigned int mask) {
return __builtin_ctz(mask);