summaryrefslogtreecommitdiff
path: root/pcre/pcrecpp.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-05-02 08:44:17 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-05-02 08:44:17 +0200
commitca091e6372c4d1b05d2338e878042c2914519a4e (patch)
tree406c71091eb4fdf4409147d22e6749309f677e8e /pcre/pcrecpp.cc
parent28325b08633372cc343dfcbc41fe252020cf6e6e (diff)
parentd233fd14a39f9c583b85ffb03e42b5ea52e2f4c2 (diff)
downloadmariadb-git-ca091e6372c4d1b05d2338e878042c2914519a4e.tar.gz
Merge branch '10.1' into 10.2
Diffstat (limited to 'pcre/pcrecpp.cc')
-rw-r--r--pcre/pcrecpp.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcre/pcrecpp.cc b/pcre/pcrecpp.cc
index 77a2fedc4be..ce289afafb8 100644
--- a/pcre/pcrecpp.cc
+++ b/pcre/pcrecpp.cc
@@ -66,7 +66,8 @@ Arg RE::no_arg((void*)NULL);
// inclusive test if we ever needed it. (Note that not only the
// __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
// gnu-specific.)
-#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__) && !defined(__INTEL_COMPILER)
+#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__) \
+ && !defined(__INTEL_COMPILER) && !defined(__LCC__)
# define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x)
# define ULP_AS_STRING_INTERNAL(x) #x
# define USER_LABEL_PREFIX_STR ULP_AS_STRING(__USER_LABEL_PREFIX__)
@@ -91,6 +92,7 @@ static const char *start_options[] = {
"(*LIMIT_RECURSION=",
"(*LIMIT_MATCH=",
"(*CRLF)",
+ "(*LF)",
"(*CR)",
"(*BSR_UNICODE)",
"(*BSR_ANYCRLF)",