summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-08-01 23:01:55 +0000
committerBenny Prijono <bennylp@teluu.com>2006-08-01 23:01:55 +0000
commitdfeb62c4ba214a74fc7464743bac71d78f120fbb (patch)
treea506132341dcf06ebda41d6a30699c92786b28fe /pjlib/include/pj/compat
parent7f63047582f9d4e1f3997ce862d0ce1aa1ffd40f (diff)
Fix PJLIB on WinCE:
- Added CPU and OS autodetection feature in config.h. For target CPU type, now we don't need to specify PJ_M_* anymore. - Fix stricmp_alnum() link error on WinCE - Exclude error message test on WincE, since WinCE doesn't have full error reporting capability as Win32. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@640 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r--pjlib/include/pj/compat/string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/string.h b/pjlib/include/pj/compat/string.h
index 2de20fcc..ca14bc78 100644
--- a/pjlib/include/pj/compat/string.h
+++ b/pjlib/include/pj/compat/string.h
@@ -37,6 +37,11 @@
/* For sprintf family */
#include <stdio.h>
+/* On WinCE, string stuffs are declared in stdlib.h */
+#if defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H!=0
+# include <stdlib.h>
+#endif
+
#if defined(_MSC_VER)
# define strcasecmp _stricmp
# define strncasecmp _strnicmp