Set default option to exclude pj_stricmp_alnum()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@354 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjlib/include/pj/string.h b/pjlib/include/pj/string.h
index 90ab29e..6831e04 100644
--- a/pjlib/include/pj/string.h
+++ b/pjlib/include/pj/string.h
@@ -369,8 +369,12 @@
* - 0 if str1 is equal to str2
* - (-1) if not equal.
*/
+#if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0
PJ_IDECL(int) strnicmp_alnum(const char *str1, const char *str2,
int len);
+#else
+#define strnicmp_alnum strnicmp
+#endif
/**
* Perform lowercase comparison to the strings which consists of only
@@ -387,7 +391,11 @@
* - 0 if str1 is equal to str2
* - (-1) if not equal.
*/
+#if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0
PJ_IDECL(int) pj_stricmp_alnum(const pj_str_t *str1, const pj_str_t *str2);
+#else
+#define pj_stricmp_alnum pj_stricmp
+#endif
/**
* Perform lowercase comparison to the strings.