New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Win32] Latest devel release (5.29.9) won't build if _WIN32_WINNT >= 0x0600 #16917
Comments
From @sisyphusThis will affect more than perl-5.29.9 - it's just that perl-5.29.9 is the BTW, where is _WIN32_WINNT actually being defined ? When it's >= 0x0600, extra stuff gets defined in winsock2.h (including the A similar thing also happens with cpan/Socket, though I'm not sure whether My workaround was to insert: #undef _WIN32_WINNT at the top of: dist/IO/IO.xs and that enables the build of 5.29.9 to proceed normally. But is that the correct approach to dealing with this issue ? Cheers, |
From @xenuOn Mon, 01 Apr 2019 21:29:50 -0700
It has nothing to do with the version of MinGW. It can be set using https://github.com/mirror/mingw-w64/blob/master/mingw-w64-headers/configure.ac#L144 (the switch affects the _WIN32_WINNT definition in _mingw.h file)
On non-windows systems we set macros such as _GNU_SOURCE, _XOPEN_SOURCE The only problem with this approach is the fact that it will force our BTW, in the future we should consider dropping winxp support and |
The RT System itself - Status changed from 'new' to 'open' |
I was about to close this issue, but discovered that I don't have the permissions for that. |
Migrated from rt.perl.org#133974 (status was 'open')
Searchable as RT133974$
The text was updated successfully, but these errors were encountered: