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

add meson build support #3

Merged
merged 2 commits into from
Apr 9, 2020
Merged

add meson build support #3

merged 2 commits into from
Apr 9, 2020

Conversation

fzwoch
Copy link
Contributor

@fzwoch fzwoch commented Apr 9, 2020

As requested.

On windows snprintf() was explicitly implemented. That breaks
cross compile with mingw as snprintf() is already defined.

So change _WIN32 to _MSC_VER so it triggers for MSVC only. I
believe later versions of MSVC also included snprintf() so
this may still result in issues. Better add a check for specific
MSVC versions - or check if one can detect the presence of the
snprintf() symbol itself.
@deurk deurk merged commit 06343d3 into QW-Group:master Apr 9, 2020
@fzwoch fzwoch deleted the meson branch April 9, 2020 19:01
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