From 142ae7e1242af521cd578202bfba29c255aa2abf Mon Sep 17 00:00:00 2001 From: Francis Williams Date: Wed, 11 Jan 2023 17:04:29 -0500 Subject: [PATCH] Update numpy.h rm old code from npe --- include/pybind11/numpy.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/pybind11/numpy.h b/include/pybind11/numpy.h index 67d786770..1b1d7e099 100644 --- a/include/pybind11/numpy.h +++ b/include/pybind11/numpy.h @@ -27,12 +27,6 @@ #include #include -#if defined(_MSC_VER) -# pragma warning(push) -# pragma warning(disable : 4127) // warning C4127: Conditional expression is constant -typedef SSIZE_T ssize_t; -#endif - /* This will be true on all flat address space platforms and allows us to reduce the whole npy_intp / ssize_t / Py_intptr_t business down to just ssize_t for all size and dimension types (e.g. shape, strides, indexing), instead of inflicting this