summaryrefslogtreecommitdiff
path: root/boost/spirit/repository/home/qi/directive/distinct.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/repository/home/qi/directive/distinct.hpp')
-rw-r--r--boost/spirit/repository/home/qi/directive/distinct.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/boost/spirit/repository/home/qi/directive/distinct.hpp b/boost/spirit/repository/home/qi/directive/distinct.hpp
index 740694559e..fc6bd5f307 100644
--- a/boost/spirit/repository/home/qi/directive/distinct.hpp
+++ b/boost/spirit/repository/home/qi/directive/distinct.hpp
@@ -56,8 +56,10 @@ namespace boost { namespace spirit
///////////////////////////////////////////////////////////////////////////////
namespace boost { namespace spirit { namespace repository {namespace qi
{
- using repository::distinct_type;
+#ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
using repository::distinct;
+#endif
+ using repository::distinct_type;
template <typename Subject, typename Tail, typename Modifier>
struct distinct_parser