summaryrefslogtreecommitdiff
path: root/pcre_jit_compile.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-11-19 15:28:29 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-11-19 15:28:29 +0000
commit36199bc966081179ec228c7073d46aa619e9d918 (patch)
tree9e212146f1bc39328c5d669afd6964f1b8083d2e /pcre_jit_compile.c
parentcefbe26acfca0ede20a41f1c381176d6f2b5b8a0 (diff)
downloadpcre-36199bc966081179ec228c7073d46aa619e9d918.tar.gz
JIT should use pcre_malloc/pcre_free for allocation.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@752 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_jit_compile.c')
-rw-r--r--pcre_jit_compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c
index 9060ff9..3f8259d 100644
--- a/pcre_jit_compile.c
+++ b/pcre_jit_compile.c
@@ -52,6 +52,8 @@ POSSIBILITY OF SUCH DAMAGE.
we just include it. This way we don't need to touch the build
system files. */
+#define SLJIT_MALLOC(size) (pcre_malloc)(size)
+#define SLJIT_FREE(ptr) (pcre_free)(ptr)
#define SLJIT_CONFIG_AUTO 1
#define SLJIT_CONFIG_STATIC 1
#define SLJIT_VERBOSE 0