Skip to content

Commit f9d73fe

Browse files
authored
Merge pull request numpy#20714 from charris/backport-20712
BUG: Restore vc141 support
2 parents a0ece54 + 2def1fd commit f9d73fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

numpy/core/src/npymath/npy_math_internal.h.src

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
* ====================================================
5555
*/
5656
#include "npy_math_private.h"
57+
#ifdef _MSC_VER
58+
# include <intrin.h> // for __popcnt
59+
#endif
5760

5861
/* Magic binary numbers used by bit_count
5962
* For type T, the magic numbers are computed as follows:

0 commit comments

Comments
 (0)