diff --git a/daemon/libs/pjproject/pjlib/include/pj/compat/string.h b/daemon/libs/pjproject/pjlib/include/pj/compat/string.h index a2a78b392c97c2f5fe079ed8bf16a6c3e646f4c4..3737230c5ae5835e9817430438ce0f78ec06d139 100644 --- a/daemon/libs/pjproject/pjlib/include/pj/compat/string.h +++ b/daemon/libs/pjproject/pjlib/include/pj/compat/string.h @@ -52,9 +52,12 @@ # define wcsicmp _wcsicmp # define wcsnicmp _wcsnicmp #else +#ifndef stricmp # define stricmp strcasecmp +#endif +#ifndef strnicmp # define strnicmp strncasecmp - +#endif # if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0 # error "Implement Unicode string functions" # endif