From 2710ec70a6e2e7bb8af79373af4a88807863a6e9 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 2 Jan 2022 15:12:01 -0800 Subject: Restore vc141 support --- numpy/core/src/npymath/npy_math_internal.h.src | 3 +++ 1 file changed, 3 insertions(+) diff --git a/numpy/core/src/npymath/npy_math_internal.h.src b/numpy/core/src/npymath/npy_math_internal.h.src index 5b418342f..15d35637f 100644 --- a/numpy/core/src/npymath/npy_math_internal.h.src +++ b/numpy/core/src/npymath/npy_math_internal.h.src @@ -54,6 +54,9 @@ * ==================================================== */ #include "npy_math_private.h" +#ifdef _MSC_VER +# include // for __popcnt +#endif /* Magic binary numbers used by bit_count * For type T, the magic numbers are computed as follows: -- cgit v1.2.1