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

Possible fix for non-MSVC windows compilers #320

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

bluetech
Copy link
Member

_MSC_VER is specific to MSVC, but there can be other compilers targeting windows. Hopefully they do define _WIN32, so let's use that.

Refs: #305

`_MSC_VER` is specific to MSVC, but there can be other compilers targeting
windows. Hopefully they do define `_WIN32`, so let's use that.

Refs: xkbcommon#305
Signed-off-by: Ran Benita <[email protected]>
@bluetech bluetech merged commit bd79a96 into xkbcommon:master Apr 11, 2023
@bluetech bluetech deleted the win32-macro branch April 11, 2023 20:29
@awarnke
Copy link

awarnke commented Apr 13, 2023

The changes look good to me (even if of course _WIN32 sounds strange to me in times of 64 bit architectures).
Thank you for the fix!

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.

2 participants