Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Abdelwahab HEBA
kaldi_2015
Commits
b0439a2e
Commit
b0439a2e
authored
Jul 22, 2015
by
Jan Trmal
Browse files
fix nonexistent _stricmp under linux
parent
e1f76237
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/util/text-utils.cc
src/util/text-utils.cc
+1
-1
No files found.
src/util/text-utils.cc
View file @
b0439a2e
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment