diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-03-17 16:55:47 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-03-17 16:55:47 +0000 |
commit | 021f9123553364f824fa678ff441695361a22493 (patch) | |
tree | 49cb86ca62299c4565c702c9298eece491393dcd /src/config.h.generic | |
parent | 589466b3fa70649d27eb20050dfe9bca0b1149c6 (diff) | |
download | pcre2-021f9123553364f824fa678ff441695361a22493.tar.gz |
Update generic files.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@683 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/config.h.generic')
-rw-r--r-- | src/config.h.generic | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/config.h.generic b/src/config.h.generic index 2e4b21a..98a55d5 100644 --- a/src/config.h.generic +++ b/src/config.h.generic @@ -159,13 +159,14 @@ sure both macros are undefined; an emulation function will then be used. */ /* The above limit applies to all backtracks, whether or not they are nested. In some environments it is desirable to limit the nesting of backtracking - more strictly, in order to restrict the maximum amount of heap memory that - is used. The value of MATCH_LIMIT_RECURSION provides this facility. To have - any useful effect, it must be less than the value of MATCH_LIMIT. The - default is to use the same value as MATCH_LIMIT. There is a runtime method - for setting a different limit. */ -#ifndef MATCH_LIMIT_RECURSION -#define MATCH_LIMIT_RECURSION MATCH_LIMIT + (that is, the depth of tree that is searched) more strictly, in order to + restrict the maximum amount of heap memory that is used. The value of + MATCH_LIMIT_DEPTH provides this facility. To have any useful effect, it + must be less than the value of MATCH_LIMIT. The default is to use the same + value as MATCH_LIMIT. There is a runtime method for setting a different + limit. */ +#ifndef MATCH_LIMIT_DEPTH +#define MATCH_LIMIT_DEPTH MATCH_LIMIT #endif /* This limit is parameterized just in case anybody ever wants to change it. |