diff options
| -rw-r--r-- | doc/release/upcoming_changes/22159.expired.rst | 1 | ||||
| -rw-r--r-- | numpy/core/src/common/npy_config.h | 14 |
2 files changed, 3 insertions, 12 deletions
diff --git a/doc/release/upcoming_changes/22159.expired.rst b/doc/release/upcoming_changes/22159.expired.rst new file mode 100644 index 000000000..bb8405718 --- /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 7457cc1b3..67b474d39 100644 --- a/numpy/core/src/common/npy_config.h +++ b/numpy/core/src/common/npy_config.h @@ -138,18 +138,8 @@ #include <cygwin/version.h> #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 |
