diff options
author | Neil <nyamatongwe@gmail.com> | 2016-04-28 09:54:46 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-04-28 09:54:46 +1000 |
commit | 474aab1c941497ae8275289bb0d7e5a214faeb2f (patch) | |
tree | 570e8d2cc97308e2a74c1acf1952f80411d260ec /src | |
parent | 96d08cb93e220189eaa4045511fe1bc2d0aae9c2 (diff) | |
download | scintilla-mirror-474aab1c941497ae8275289bb0d7e5a214faeb2f.tar.gz |
C++ 11 <regex> support built by default.
Diffstat (limited to 'src')
-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); |