diff options
author | Kenneth Heafield <kheafiel@cluster10.lti.ece.cmu.local> | 2011-04-06 17:19:05 -0400 |
---|---|---|
committer | Kenneth Heafield <kheafiel@cluster10.lti.ece.cmu.local> | 2011-04-06 17:19:05 -0400 |
commit | b325669ecc1b8babdb43c2612bf982aa4dc2da75 (patch) | |
tree | 8b4042f23b1729e602d5174b9934d5a55b9b545e /klm/util/string_piece.hh | |
parent | 9ca2d8670695d420923a28ec6eb969c09e4bbfdd (diff) |
Update build scripts and minor string_piece header changes
Diffstat (limited to 'klm/util/string_piece.hh')
-rw-r--r-- | klm/util/string_piece.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/klm/util/string_piece.hh b/klm/util/string_piece.hh index 2583db5e..e5b16e38 100644 --- a/klm/util/string_piece.hh +++ b/klm/util/string_piece.hh @@ -48,10 +48,7 @@ #ifndef BASE_STRING_PIECE_H__ #define BASE_STRING_PIECE_H__ -//Uncomment this line if you use ICU in your code. -//#define HAVE_ICU -//Uncomment this line if you want boost hashing for your StringPieces. -//#define HAVE_BOOST +#include "util/have.hh" #ifdef HAVE_BOOST #include <boost/functional/hash/hash.hpp> @@ -67,6 +64,7 @@ U_NAMESPACE_BEGIN #else #include <algorithm> +#include <cstddef> #include <string> #include <string.h> |