Skip to content

Commit b068140

Browse files
authored
sys: use config.h to track default settings
Instead of duplicating each manually, use the config.h from the sources to simplify future upgrades. PR #35
1 parent c6b3a38 commit b068140

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

pcre2-sys/build.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,7 @@ fn main() {
4141
.define("PCRE2_CODE_UNIT_WIDTH", "8")
4242
.define("HAVE_STDLIB_H", "1")
4343
.define("HAVE_MEMMOVE", "1")
44-
.define("HEAP_LIMIT", "20000000")
45-
.define("LINK_SIZE", "2")
46-
.define("MATCH_LIMIT", "10000000")
47-
.define("MATCH_LIMIT_DEPTH", "10000000")
48-
.define("MAX_NAME_COUNT", "10000")
49-
.define("MAX_NAME_SIZE", "32")
50-
.define("NEWLINE_DEFAULT", "2")
51-
.define("PARENS_NEST_LIMIT", "250")
44+
.define("HAVE_CONFIG_H", "1")
5245
.define("PCRE2_STATIC", "1")
5346
.define("STDC_HEADERS", "1")
5447
.define("SUPPORT_PCRE2_8", "1")

0 commit comments

Comments
 (0)