summaryrefslogtreecommitdiff
path: root/pjlib/src/pjlib-test
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/src/pjlib-test
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/src/pjlib-test')
-rw-r--r--pjlib/src/pjlib-test/errno.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/src/pjlib-test/errno.c b/pjlib/src/pjlib-test/errno.c
index 999f3525..6bc7b673 100644
--- a/pjlib/src/pjlib-test/errno.c
+++ b/pjlib/src/pjlib-test/errno.c
@@ -89,7 +89,9 @@ int errno_test(void)
if (my_stristr(errbuf, "invalid") == NULL) {
PJ_LOG(3, (THIS_FILE,
"...error: expecting \"invalid\" string in the msg"));
+#ifndef PJ_WIN32_WINCE
return -20;
+#endif
}
/* Cut version. */