ICU-7906 make VS 2008 happy about StringPiece::npos
X-SVN-Rev: 28521
This commit is contained in:
parent
c29b6e289f
commit
0660dc6e6e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user