summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/pcre2/src/sljit/sljitUtils.c
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-11-23 15:04:47 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-12-25 00:49:19 +0100
commit25101f0984e86aa30f34773eb5b2025f58086b71 (patch)
treed4e11af9139d0cd4811ce26f6b37362b498275be /src/3rdparty/pcre2/src/sljit/sljitUtils.c
parentd24a1d4323e73400ef4ecca99e03ff0f41c60389 (diff)
Update PCRE2 to 10.34
Also adjust the import script to handle new files. The RTEMS patch is not upstreamed and had to be-reapplied. Change-Id: Ie3102d56a25674b50c67edd3cce25ffe7040a215 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/3rdparty/pcre2/src/sljit/sljitUtils.c')
-rw-r--r--src/3rdparty/pcre2/src/sljit/sljitUtils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/pcre2/src/sljit/sljitUtils.c b/src/3rdparty/pcre2/src/sljit/sljitUtils.c
index 2ead044b1b..39f6a44b24 100644
--- a/src/3rdparty/pcre2/src/sljit/sljitUtils.c
+++ b/src/3rdparty/pcre2/src/sljit/sljitUtils.c
@@ -154,7 +154,13 @@ SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_release_lock(void)
#include "windows.h"
#else
/* Provides mmap function. */
+#include <sys/types.h>
#include <sys/mman.h>
+#ifndef MAP_ANON
+#ifdef MAP_ANONYMOUS
+#define MAP_ANON MAP_ANONYMOUS
+#endif
+#endif
/* For detecting the page size. */
#include <unistd.h>