Skip to content

Use <winsock2.h> instead of legacy <winsock.h> #19037

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

Merged
merged 1 commit into from
Jul 7, 2025
Merged

Conversation

petk
Copy link
Member

@petk petk commented Jul 5, 2025

This also omits defining unused HAVE_WINSOCK_H macro when building ext/sockets.

I'm not sure if I've missed anything here but <winsock.h> sounds kind of bad reading all the docs out there as it is part of the legacy Winsock 1.1.

This also omits defining unused HAVE_WINSOCK_H macro when building
ext/sockets.
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lctm

@petk petk merged commit c2af281 into php:master Jul 7, 2025
9 checks passed
@petk petk deleted the patch-winsock-h branch July 7, 2025 07:40
@petk
Copy link
Member Author

petk commented Jul 7, 2025

If any issue shows up here, we can recheck it then but I think this is all good to merge already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants