Files
MINGW-packages/mingw-w64-python-numpy/0003-no-strtold_l.patch
مهدي شينون (Mehdi Chinoune) 8f7526b5a1 numpy: update to 1.26.1
2023-10-19 16:27:09 +01:00

21 lines
762 B
Diff

--- a/numpy/core/meson.build
+++ b/numpy/core/meson.build
@@ -275,17 +275,6 @@
endif
if have_strtold_l
cdata.set10('HAVE_STRTOLD_L', true)
-else
- # FIXME: this is wrong! the HAVE_ define should not exist, or it'll be
- # interpreted as the function being available (true/false does nothing, see
- # note on HAVE_ defines higher up). This is necessary though in order to make
- # the Linux CI job pass. So either the check is wrong somehow, or this
- # function is not available in CI. For the latter there is a fallback path,
- # but that is broken because we don't have the exact long double
- # representation checks.
- if cc.get_argument_syntax() != 'msvc'
- cdata.set10('HAVE_STRTOLD_L', false)
- endif
endif
# Other optional functions