diff options
| author | Isuru Fernando <isuruf@gmail.com> | 2022-01-02 15:12:01 -0800 |
|---|---|---|
| committer | Isuru Fernando <isuruf@gmail.com> | 2022-01-02 17:46:16 -0800 |
| commit | 2710ec70a6e2e7bb8af79373af4a88807863a6e9 (patch) | |
| tree | 3d011a516f43ac68e8b0d83a5f3e61afa1d0180a | |
| parent | 2a341c5cd002a37ccff23d043535f94d6af585cb (diff) | |
| download | numpy-2710ec70a6e2e7bb8af79373af4a88807863a6e9.tar.gz | |
Restore vc141 support
| -rw-r--r-- | numpy/core/src/npymath/npy_math_internal.h.src | 3 |
1 files changed, 3 insertions, 0 deletions
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 <intrin.h> // for __popcnt +#endif /* Magic binary numbers used by bit_count * For type T, the magic numbers are computed as follows: |
