use correct Windows CE version number in strnlen() check (really closes #10763)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-02 16:17:00 +00:00
parent f27683e7da
commit 16d2c3ea74

View File

@@ -232,7 +232,7 @@ WXDLLIMPEXP_BASE void *calloc( size_t num, size_t size );
Only VC8 and later provide strnlen() and wcsnlen() functions under Windows Only VC8 and later provide strnlen() and wcsnlen() functions under Windows
and it's also only available starting from Windows CE 6.0 only in CE build. and it's also only available starting from Windows CE 6.0 only in CE build.
*/ */
#if wxCHECK_VISUALC_VERSION(8) && (!defined(_WIN32_WCE) || (_WIN32_WCE >= 600)) #if wxCHECK_VISUALC_VERSION(8) && (!defined(_WIN32_WCE) || (_WIN32_WCE >= 0x600))
#ifndef HAVE_STRNLEN #ifndef HAVE_STRNLEN
#define HAVE_STRNLEN #define HAVE_STRNLEN
#endif #endif