diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-01-19 03:58:29 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-01-19 03:58:29 +0000 |
commit | 47e7de1c94be7f826080b3711451eafee894791f (patch) | |
tree | d27cdefeb8b9939c47d3126ddcb1ae2d55287d6e /pjlib/include/pj/compat/string.h | |
parent | 5bad79ed937c72db0f066e2e50ebd74fcdd4dbc3 (diff) |
Initial, quick and dirty WinCE port with EVC4
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@125 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/string.h')
-rw-r--r-- | pjlib/include/pj/compat/string.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/string.h b/pjlib/include/pj/compat/string.h index 56ae5c2f..fd041230 100644 --- a/pjlib/include/pj/compat/string.h +++ b/pjlib/include/pj/compat/string.h @@ -35,7 +35,11 @@ #if defined(_MSC_VER) # define strcasecmp stricmp -# define strncasecmp strnicmp +# if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 +# define strncasecmp _strnicmp +# else +# define strncasecmp strnicmp +# endif # define snprintf _snprintf #else # define stricmp strcasecmp |