ICU-7906 make VS 2008 happy about StringPiece::npos

X-SVN-Rev: 28521
This commit is contained in:
Jungshik Shin 2010-08-25 02:22:04 +00:00
parent c29b6e289f
commit 0660dc6e6e

View File

@ -71,7 +71,7 @@ operator==(const StringPiece& x, const StringPiece& y) {
* Visual Studios 9.0.
* Cygwin with MSVC 9.0 also complains here about redefinition.
*/
#if (!defined(_MSC_VER) || (_MSC_VER >= 1500)) && !defined(CYGWINMSVC)
#if (!defined(_MSC_VER) || (_MSC_VER > 1500)) && !defined(CYGWINMSVC)
const int32_t StringPiece::npos;
#endif