summaryrefslogtreecommitdiff
path: root/pcre/pcrecpp.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-04-30 18:40:02 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-04-30 18:40:02 +0200
commitc1291d7a6b59bfa84dbeb499aca64ea877239d9b (patch)
treec7dca64c4b1eb2c9cb716dc17d257178868a4cf9 /pcre/pcrecpp.cc
parent879f7e85aa08dda613ea2f481e53392da4864741 (diff)
downloadmariadb-git-c1291d7a6b59bfa84dbeb499aca64ea877239d9b.tar.gz
8.44
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)",