diff options
author | zherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-01-12 09:32:15 +0000 |
---|---|---|
committer | zherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-01-12 09:32:15 +0000 |
commit | 2b037a178100bba0581eef40a6f7c54f13eec4c1 (patch) | |
tree | 20af8e4ede64e255a4918ec30beda8e4cec9be02 /src/sljit/sljitLir.c | |
parent | c44fe1c63529ec70ff9c28a844795063eaef1ec9 (diff) | |
download | pcre2-2b037a178100bba0581eef40a6f7c54f13eec4c1.tar.gz |
JIT compiler update. Patch insipred by Christian Persch.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@652 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/sljit/sljitLir.c')
-rw-r--r-- | src/sljit/sljitLir.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sljit/sljitLir.c b/src/sljit/sljitLir.c index 6b3f4eb..0b39ec9 100644 --- a/src/sljit/sljitLir.c +++ b/src/sljit/sljitLir.c @@ -26,6 +26,14 @@ #include "sljitLir.h" +#if !(defined SLJIT_STD_MACROS_DEFINED && SLJIT_STD_MACROS_DEFINED) + +/* These libraries are needed for the macros below. */ +#include <stdlib.h> +#include <string.h> + +#endif /* SLJIT_STD_MACROS_DEFINED */ + #define CHECK_ERROR() \ do { \ if (SLJIT_UNLIKELY(compiler->error)) \ |