diff options
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 |