We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Windows is as always a treat. This time, the str(n)casecmp are available under a different name only. The following diff fixes compilation.
str(n)casecmp
diff --git a/third_party/osmium/util/config.hpp b/third_party/osmium/util/config.hpp index c30f02e..6c86d68 100644 --- a/third_party/osmium/util/config.hpp +++ b/third_party/osmium/util/config.hpp @@ -36,6 +36,11 @@ DEALINGS IN THE SOFTWARE. #include <cstdlib> #include <cstring> +#ifdef _MSC_VER +#define strncasecmp _strnicmp +#define strcasecmp _stricmp +#endif + namespace osmium { namespace config {
The text was updated successfully, but these errors were encountered:
36ffd65
No branches or pull requests
Windows is as always a treat. This time, the
str(n)casecmp
are available under a different name only. The following diff fixes compilation.The text was updated successfully, but these errors were encountered: