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

Fix checking Windows platform for non-msvc toolchain #1999

Closed
wants to merge 1 commit into from
Closed

Fix checking Windows platform for non-msvc toolchain #1999

wants to merge 1 commit into from

Conversation

Biswa96
Copy link
Contributor

@Biswa96 Biswa96 commented Mar 2, 2023

Fixes #1998

This changes _MSC_VER with PLATFORM_WINDOWS macro to check Windows
platform. _MSC_VER is specific for MSVC toolchain and not defined
in mingw based toolchain. So, this fixes compilation in later one.

bd4c56c introduces the issue.
@newcapricasean
Copy link

I'm relatively new to this github, compiling, and linux... If it's become "commit" ... how long before the actual source code is updated with this change?

@newcapricasean
Copy link

Modifying the database.cpp and lens.cpp files, with the suggested changes, resolved the issue for me... Thank you!!!

@ss23
Copy link

ss23 commented Aug 1, 2023

@sarunasb Any chance of a merge on this one? It's simple and will mean less issues being opened about building on Windows :)

@sarunasb
Copy link
Member

Fixed by 6cb00f4.

@sarunasb sarunasb closed this Aug 10, 2023
@Biswa96 Biswa96 deleted the locale-windows branch August 10, 2023 17:33
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.

MSYS2/MinGW, GCC: compilation errors related to locale_t type
4 participants