Skip to content
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

default built to require windows 10 #7602

Closed
wants to merge 1 commit into from

Conversation

xavier2k6
Copy link
Contributor

No description provided.

@@ -243,7 +243,7 @@ drive_info get_drive_info(std::string const& path)
if (dev.handle() == INVALID_HANDLE_VALUE)
continue;

#if _WIN32_WINNT >= 0x601
Copy link
Owner

Choose a reason for hiding this comment

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

I don't understand this change. Is there anything in this block that requires windows 10?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, will revert.

@xavier2k6
Copy link
Contributor Author

@arvidn I don't know how to fix the winapifamily issues.

@xavier2k6 xavier2k6 marked this pull request as ready for review March 18, 2024 11:07
@xavier2k6
Copy link
Contributor Author

BTW, Boost are starting to default their target API's to Windows 10 as of Boost 1.84.0

@arvidn
Copy link
Owner

arvidn commented Apr 21, 2024

it appears that having the build system define _WIN32_WINNT will make boost.asio think it's building on windows, and try to include <winapifamily.h>.

@arvidn
Copy link
Owner

arvidn commented Apr 21, 2024

here's my attempt: #7662

@arvidn arvidn closed this May 5, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants