From 474aab1c941497ae8275289bb0d7e5a214faeb2f Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 28 Apr 2016 09:54:46 +1000 Subject: C++ 11 support built by default. --- src/Document.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Document.cxx b/src/Document.cxx index 5e58f26ee..d96a889bf 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -16,7 +16,7 @@ #include #include -#ifdef CXX11_REGEX +#ifndef NO_CXX11_REGEX #include #endif @@ -2336,7 +2336,7 @@ public: } }; -#ifdef CXX11_REGEX +#ifndef NO_CXX11_REGEX class ByteIterator : public std::iterator { public: @@ -2696,7 +2696,7 @@ long BuiltinRegex::FindText(Document *doc, int minPos, int maxPos, const char *s bool caseSensitive, bool, bool, int flags, int *length) { -#ifdef CXX11_REGEX +#ifndef NO_CXX11_REGEX if (flags & SCFIND_CXX11REGEX) { return Cxx11RegexFindText(doc, minPos, maxPos, s, caseSensitive, length, search); -- cgit v1.2.3