From 7a78222b69e8f7fee0f9d9006c745ba03340bc76 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 2d52e3b14..b3888d3ca 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