Cut out maketables_free when included in freestanding program.

This commit is contained in:
Philip.Hazel 2019-09-04 07:23:01 +00:00
parent 0970ae4195
commit 87bc092222
1 changed files with 2 additions and 0 deletions

View File

@ -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 */