Commit b0439a2e authored by Jan Trmal's avatar Jan Trmal
Browse files

fix nonexistent _stricmp under linux

parent e1f76237
......@@ -165,7 +165,7 @@ inline bool starts_with(const std::string &in, const std::string &prefix) {
inline bool stricmp(const std::string &in, const std::string &prefix) {
int ret = _stricmp(in.c_str(), prefix.c_str());
int ret = KALDI_STRCASECMP(in.c_str(), prefix.c_str());
return ret == 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment