I'm trying to compile the Boost 1.36.0 regex library for Windows Mobile 5.0 using Visual Studio 2008. But, I run in to a problem with STLPort (below):

compile-c-c++ bin.v2\libs\regex\build\msvc-WM5\debug\link-static\runtime-link-static\stdlib-stlport\threading-multi\c_regex_traits.obj
c_regex_traits.cpp
Unknown EVC++ compiler version - please run the configure tests and report the results
libs\regex\src\..\src\c_regex_traits.cpp(54) : error C2039: 'strxfrm' : is not a member of 'stlpd_std'
libs\regex\src\..\src\c_regex_traits.cpp(54) : error C3861: 'strxfrm': identifier not found
libs\regex\src\..\src\c_regex_traits.cpp(54) : fatal error C1903: unable to recover from previous error(s); stopping compilation


The STLPort-5.1.5 <cstring> library has ifdef'd these out for Windows Mobile (below):

#  if !defined (_STLP_WCE)
// these functions just don't exist on Windows CE
using _STLP_VENDOR_CSTD::strcoll;
using _STLP_VENDOR_CSTD::strerror;
using _STLP_VENDOR_CSTD::strxfrm;
#  endif

Is there anything I can do to fix this without breaking the Regex library?

Thanks,
PaulH