mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 05:55:35 +00:00
ICU-9239 Fix StringPiece::npos build error on Windows
X-SVN-Rev: 31746
This commit is contained in:
parent
30b430f929
commit
46e9f5081f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2009-2010, International Business Machines
|
||||
// Copyright (C) 2009-2012, International Business Machines
|
||||
// Corporation and others. All Rights Reserved.
|
||||
//
|
||||
// Copyright 2004 and onwards Google Inc.
|
||||
|
@ -75,7 +75,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…
Add table
Reference in a new issue