We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae412d commit 8269d05Copy full SHA for 8269d05
src/quicktions.pyx
@@ -115,8 +115,8 @@ cdef extern from *:
115
#define __Quicktions_trailing_zeros_ulong(x) __builtin_ctzg(x)
116
#define __Quicktions_trailing_zeros_ullong(x) __builtin_ctzg(x)
117
#endif
118
- #elif defined(_MSC_VER) && SIZEOF_INT == 4 && SIZEOF_LONG_LONG == 8
119
- /* Typical Windows config. */
+ #elif defined(_MSC_VER) && defined(_WIN64) && SIZEOF_INT == 4 && SIZEOF_LONG_LONG == 8
+ /* Typical Windows64 config (Win32 does not define "_BitScanForward64"). */
120
#define __Quicktions_HAS_FAST_CTZ 1
121
#pragma intrinsic(_BitScanForward, _BitScanForward64)
122
static CYTHON_INLINE int __Quicktions_trailing_zeros_uint(uint32_t x) {
0 commit comments