From 2c5c5a5397883602ca2aec4f34f9bd2c085779b3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 Sep 2019 13:45:14 -0700 Subject: Add and use custom string types and functions --- router/alc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'router') diff --git a/router/alc.cpp b/router/alc.cpp index 0f552523..6620b6a7 100644 --- a/router/alc.cpp +++ b/router/alc.cpp @@ -11,6 +11,7 @@ #include #include "AL/alc.h" +#include "alstring.h" #include "router.h" @@ -539,7 +540,7 @@ ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent(ALCdevice *device, const A ptr = alcExtensionList; while(ptr && *ptr) { - if(strncasecmp(ptr, extname, len) == 0 && (ptr[len] == '\0' || isspace(ptr[len]))) + if(al::strncasecmp(ptr, extname, len) == 0 && (ptr[len] == '\0' || isspace(ptr[len]))) return ALC_TRUE; if((ptr=strchr(ptr, ' ')) != nullptr) { -- cgit v1.2.3