Skip to content

Conversation

yhirose
Copy link
Owner

@yhirose yhirose commented Aug 9, 2025

No description provided.

@yhirose yhirose mentioned this pull request Aug 9, 2025
Copy link
Contributor

@thbeu thbeu left a comment

Choose a reason for hiding this comment

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

I prefer the compile-time switch over this run-time switch since we know a-priori that CreateFile2 is available on MSVC and Win8.

@apocelipes
Copy link
Contributor

@yhirose Thanks for watching into this issue.

This patch cannot work, because my mingw-w64 does not have CreateFile2. The code use it on runtime so compile generates compiler errors.

I think we need to introduce a macro to determine which function can be used at compiling time.

@yhirose yhirose closed this Aug 9, 2025
@yhirose yhirose deleted the issue2198 branch August 29, 2025 20:12
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.

3 participants