diff options
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 <vector> #include <algorithm> -#ifdef CXX11_REGEX +#ifndef NO_CXX11_REGEX #include <regex> #endif @@ -2336,7 +2336,7 @@ public: } }; -#ifdef CXX11_REGEX +#ifndef NO_CXX11_REGEX class ByteIterator : public std::iterator<std::bidirectional_iterator_tag, char> { 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); |