diff options
author | Chris Robinson <[email protected]> | 2019-09-16 15:10:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-16 15:10:36 -0700 |
commit | 899a414591559633f2641a74325dffc5e54562c7 (patch) | |
tree | 5cd3b23181266634ff89fd3bc3ea68862bc0762c /alc/helpers.cpp | |
parent | 6d93b2ba81958eb277da4361924e89bc7048da41 (diff) |
Remove the last uses of the system's str[n]casecmp
Diffstat (limited to 'alc/helpers.cpp')
-rw-r--r-- | alc/helpers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/helpers.cpp b/alc/helpers.cpp index 77f96fb8..1d19d004 100644 --- a/alc/helpers.cpp +++ b/alc/helpers.cpp @@ -70,6 +70,7 @@ #include "alcmain.h" #include "almalloc.h" +#include "alstring.h" #include "compat.h" #include "cpu_caps.h" #include "fpu_modes.h" @@ -662,7 +663,7 @@ static void DirectorySearch(const char *path, const char *ext, al::vector<std::s size_t len{strlen(dirent->d_name)}; if(len <= extlen) continue; - if(strcasecmp(dirent->d_name+len-extlen, ext) != 0) + if(al::strcasecmp(dirent->d_name+len-extlen, ext) != 0) continue; results->emplace_back(); |