Skip to content

Since adding AF_UNIX support, the Win 10 SDK minimum version has increased #2143

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

Closed
thomasmfields opened this issue May 21, 2025 · 3 comments

Comments

@thomasmfields
Copy link

I just wanted to mention that since you have added AF_UNIX support on Windows via #2115, this now means that you need Windows SDK 10 (v10.0.17763.0) or later to successfully build.

My application depends on Windows SDK 10 (v10.0.14393.0) and no longer builds with the new version of cpp-httplib. You get:

HttpBuildFailure\httplib.h(196,10): fatal error C1083: Cannot open include file: 'afunix.h': No such file or directory

Would it be possible to add a #define to disable AF_UNIX support so I can toggle it off locally to avoid having to update Win10 SDK?

Thanks

@yhirose
Copy link
Owner

yhirose commented May 21, 2025

@p1-0tr, could you please respond to @thomasmfields' question?

@p1-0tr
Copy link
Contributor

p1-0tr commented May 21, 2025

hi @thomasmfields would the following - #2145 - work for your usecase?

@thomasmfields
Copy link
Author

hi @thomasmfields would the following - #2145 - work for your usecase?

Yes that works for us. Thanks.

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

No branches or pull requests

3 participants