From: Vadim Zeitlin Date: Sat, 2 May 2009 16:17:00 +0000 (+0000) Subject: use correct Windows CE version number in strnlen() check (really closes #10763) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/16d2c3ea74d6803c32e30972829e57e71339efd8?ds=sidebyside 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 --- diff --git a/include/wx/wxcrtbase.h b/include/wx/wxcrtbase.h index 0d124f6f35..bf28f4cade 100644 --- a/include/wx/wxcrtbase.h +++ b/include/wx/wxcrtbase.h @@ -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 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 #define HAVE_STRNLEN #endif