summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-09-04 07:23:01 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-09-04 07:23:01 +0000
commit57d867b34f1dceb380fb4b5a54cc7744ff4968e7 (patch)
tree6aeb3b10b579bf9418b3ee350475317ec323750a /src
parentfa14a56e8016405104e8e103099b9a920875f000 (diff)
downloadpcre2-57d867b34f1dceb380fb4b5a54cc7744ff4968e7.tar.gz
Cut out maketables_free when included in freestanding program.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1162 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src')
-rw-r--r--src/pcre2_maketables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcre2_maketables.c b/src/pcre2_maketables.c
index b1eb137..8c93b4b 100644
--- a/src/pcre2_maketables.c
+++ b/src/pcre2_maketables.c
@@ -147,6 +147,7 @@ for (i = 0; i < 256; i++)
return yield;
}
+#ifndef DFTABLES
PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION
pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables)
{
@@ -155,5 +156,6 @@ pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables)
else
free((void *)tables);
}
+#endif
/* End of pcre2_maketables.c */