8000 DEP: drop older cygwin compatibility shims (#22159) · numpy/numpy@a36783e · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a36783e

Browse files
authored
DEP: drop older cygwin compatibility shims (#22159)
[ci skip]
1 parent 185c4f2 commit a36783e

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Support for cygwin < 3.3 has been removed.

numpy/core/src/common/npy_config.h

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,8 @@
138138

139139
#include <cygwin/version.h>
140140
#if CYGWIN_VERSION_DLL_MAJOR < 3003
141-
/* https://cygwin.com/pipermail/cygwin-announce/2021-October/010268.html */
142-
/* Builtin abs reports overflow */
143-
#undef HAVE_CABSL
144-
#undef HAVE_HYPOTL
145-
#endif
146-
147-
#if CYGWIN_VERSION_DLL_MAJOR < 3002
148-
/* https://cygwin.com/pipermail/cygwin-announce/2021-March/009987.html */
149-
/* Segfault */
150-
#undef HAVE_MODFL
151-
/* sqrt(-inf) returns -inf instead of -nan */
152-
#undef HAVE_SQRTL
141+
// rather than blocklist cabsl, hypotl, modfl, sqrtl, error out
142+
#error cygwin < 3.3 not supported, please update
153143
#endif
154144
#endif
155145

0 commit comments

Comments
 (0)
0