8000 DEP: drop older cygwin compatibility shims · numpy/numpy@8f8129e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f8129e

Browse files
committed
DEP: drop older cygwin compatibility shims
1 parent 17d730a commit 8f8129e

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 < 3003 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 < 3003 not supported, please update
153143
#endif
154144
#endif
155145

0 commit comments

Comments
 (0)
0