diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-07-18 01:45:23 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-07-18 01:45:23 +0400 |
commit | 473ed9d1b1688bd9bf0051ed292ad410c3232328 (patch) | |
tree | 2bd86f07b74b66fd3828c0f172d3967338db42d6 /util | |
parent | 6a94f740197ac3eff812dcf5d4bbf658eea02d5d (diff) |
changed variable array to vector. Submitted by a Windows developer.
Diffstat (limited to 'util')
-rw-r--r-- | util/string_piece.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/string_piece.hh b/util/string_piece.hh index 5de053aa8..be6a643d0 100644 --- a/util/string_piece.hh +++ b/util/string_piece.hh @@ -85,6 +85,11 @@ U_NAMESPACE_BEGIN #include <string> #include <string.h> +#ifdef WIN32 +#undef max +#undef min +#endif + class StringPiece { public: typedef size_t size_type; |