summaryrefslogtreecommitdiff
path: root/klm/util/string_piece.hh
diff options
context:
space:
mode:
authorKenneth Heafield <kheafiel@cluster10.lti.ece.cmu.local>2011-04-06 17:19:05 -0400
committerKenneth Heafield <kheafiel@cluster10.lti.ece.cmu.local>2011-04-06 17:19:05 -0400
commitbca7c502d92150af9cd7a7fea389eb21e8852ab0 (patch)
treeaad0b83891d42ca2e9b24a593d9f3fdadd841fa1 /klm/util/string_piece.hh
parent302c5a9de27469e7b6fe44f7093619e04314e719 (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.hh6
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>