summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/config.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-23 18:03:40 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-23 18:03:40 +0000
commit14824da601ff1b606a4bb0d891adb98940f60fce (patch)
treebe5d0a06063323a0aa68fd421c164500da797f33 /pjlib/include/pj/config.h
parent23de2933606ed5d58b133b5844b310845d4e1efa (diff)
Set default option to exclude pj_stricmp_alnum()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@354 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/config.h')
-rw-r--r--pjlib/include/pj/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h
index 2e6995da..896cfd5b 100644
--- a/pjlib/include/pj/config.h
+++ b/pjlib/include/pj/config.h
@@ -365,6 +365,19 @@
#endif
+/**
+ * Include pj_stricmp_alnum() and pj_strnicmp_alnum(), i.e. custom
+ * functions to compare alnum strings. On some systems, they're faster
+ * then stricmp/strcasecmp, but they can be slower on other systems.
+ * When disabled, pjlib will fallback to stricmp/strnicmp.
+ *
+ * Default: 0
+ */
+#ifndef PJ_HAS_STRICMP_ALNUM
+# define PJ_HAS_STRICMP_ALNUM 0
+#endif
+
+
/** @} */
/********************************************************************