summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-08-21 09:20:07 -0600
committerGitHub <noreply@github.com>2022-08-21 18:20:07 +0300
commita36783e02704d030f73674c3ed60a3dd6b0647e1 (patch)
tree8809f5d24842e5aaf5fa03df651a87a1291f80eb /numpy
parent185c4f205c51049a2a21e406e205e4135fab5273 (diff)
downloadnumpy-a36783e02704d030f73674c3ed60a3dd6b0647e1.tar.gz
DEP: drop older cygwin compatibility shims (#22159)
[ci skip]
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/common/npy_config.h14
1 files changed, 2 insertions, 12 deletions
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