summaryrefslogtreecommitdiff
path: root/src/mask.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mask.cc')
-rw-r--r--src/mask.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mask.cc b/src/mask.cc
index afb68ca0..18d482ed 100644
--- a/src/mask.cc
+++ b/src/mask.cc
@@ -43,7 +43,7 @@ mask_t::mask_t(const string& pat) : expr()
mask_t& mask_t::operator=(const string& pat)
{
-#if defined(HAVE_BOOST_REGEX_UNICODE)
+#if HAVE_BOOST_REGEX_UNICODE
expr = boost::make_u32regex(pat.c_str(), boost::regex::perl | boost::regex::icase);
#else
expr.assign(pat.c_str(), boost::regex::perl | boost::regex::icase);