From 6476643e4519563c8e87b0766f09f3d1229b629e Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.com> Date: Mon, 30 Jul 2012 11:10:21 -0400 Subject: [PATCH] #13961: fix build without SSLv2 fix warnings --- daemon/libs/pjproject/pjlib/include/pj/compat/string.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/libs/pjproject/pjlib/include/pj/compat/string.h b/daemon/libs/pjproject/pjlib/include/pj/compat/string.h index a2a78b392c..3737230c5a 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 -- GitLab