diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-07 08:32:44 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-07 08:34:13 -0500 |
commit | c8641a6de65670b8833992c94c51a586a6434a74 (patch) | |
tree | eb59642cd3296a98ec4c7a73ca319b1c57c2f7ad /src/system.hh.in | |
parent | 95a068f5e4b0e5c06fd9824f7f999248e28fee7b (diff) | |
download | fork-ledger-c8641a6de65670b8833992c94c51a586a6434a74.tar.gz fork-ledger-c8641a6de65670b8833992c94c51a586a6434a74.tar.bz2 fork-ledger-c8641a6de65670b8833992c94c51a586a6434a74.zip |
Added support for Boost.Regex w/ ICU
This allows for correct searching of UTF-8 encoded strings, such as
lower-case versions of Russian words to find mixed-case words.
Diffstat (limited to 'src/system.hh.in')
-rw-r--r-- | src/system.hh.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.hh.in b/src/system.hh.in index b0b8f1eb..12f257eb 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -164,7 +164,11 @@ typedef std::ostream::pos_type ostream_pos_type; #include <boost/random/uniform_int.hpp> #include <boost/random/uniform_real.hpp> #include <boost/random/variate_generator.hpp> +#if defined(HAVE_BOOST_REGEX_UNICODE) +#include <boost/regex/icu.hpp> +#else #include <boost/regex.hpp> +#endif // HAVE_BOOST_REGEX_UNICODE #include <boost/variant.hpp> #include <boost/version.hpp> |