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 mingw: strcasecmp and strncasecmp redifinition #128

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Fix mingw: strcasecmp and strncasecmp redifinition #128

merged 1 commit into from
Nov 6, 2023

Conversation

likeawindrammer
Copy link
Contributor

@likeawindrammer likeawindrammer commented Nov 5, 2023

mingw defines the _WIN32 macro as well, which here causes it to define strcasecmp and strncasecmp since (I assume) MSVS doesn't implement these functions. However mingw does already implement these functions.
This fixes #127

mingw defines the _WIN32 macro as well, which here causes it to define strcasecmp and strncasecmp since (I assume) MSVS doesn't implement these functions. However mingw does already implement these functions.
@thelink2012 thelink2012 merged commit ceff9fd into thelink2012:master Nov 6, 2023
@thelink2012
Copy link
Owner

Hey, thanks for your contribution!

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.

mingw: build error due to function redifinitions
2 participants