diff --git a/doc/release/upcoming_changes/22159.expired.rst b/doc/release/upcoming_changes/22159.expired.rst new file mode 100644 index 000000000000..bb8405718631 --- /dev/null +++ b/doc/release/upcoming_changes/22159.expired.rst @@ -0,0 +1 @@ +* Support for cygwin < 3.3 has been removed. diff --git a/numpy/core/src/common/npy_config.h b/numpy/core/src/common/npy_config.h index 7457cc1b31d6..67b474d39f57 100644 --- a/numpy/core/src/common/npy_config.h +++ b/numpy/core/src/common/npy_config.h @@ -138,18 +138,8 @@ #include #if CYGWIN_VERSION_DLL_MAJOR < 3003 -/* https://cygwin.com/pipermail/cygwin-announce/2021-October/010268.html */ -/* Builtin abs reports overflow */ -#undef HAVE_CABSL -#undef HAVE_HYPOTL -#endif - -#if CYGWIN_VERSION_DLL_MAJOR < 3002 -/* https://cygwin.com/pipermail/cygwin-announce/2021-March/009987.html */ -/* Segfault */ -#undef HAVE_MODFL -/* sqrt(-inf) returns -inf instead of -nan */ -#undef HAVE_SQRTL +// rather than blocklist cabsl, hypotl, modfl, sqrtl, error out +#error cygwin < 3.3 not supported, please update #endif #endif