Skip to content

Commit 7ff5a10

Browse files
committed
enable various build option to match upstream
1 parent de85b82 commit 7ff5a10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ pub fn build(b: *std.Build) void {
2323
};
2424

2525
const char_type = b.option(CharType, "char-type", "Character type to use. (default=char)") orelse .char;
26-
const dtd = b.option(bool, "dtd", "Define to make parameter entity parsing functionality available") orelse false;
27-
const ge = b.option(bool, "ge", "Define to make general entity parsing functionality available") orelse false;
28-
const ns = b.option(bool, "ns", "Define to make XML Namespaces functionality available") orelse false;
26+
const dtd = b.option(bool, "dtd", "Define to make parameter entity parsing functionality available") orelse true;
27+
const ge = b.option(bool, "ge", "Define to make general entity parsing functionality available") orelse true;
28+
const ns = b.option(bool, "ns", "Define to make XML Namespaces functionality available") orelse true;
2929
const attr_info = b.option(bool, "attr-info", "Define to allow retrieving the byte offsets for attribute names and values") orelse false;
3030
const large_size = b.option(bool, "large-size", "Make XML_GetCurrent* functions return <(unsigned) long long> rather than <(unsigned) long>") orelse false;
3131
const min_size = b.option(bool, "min-size", "Get a smaller (but slower) parser (in particular avoid multiple copies of the tokenizer)") orelse false;

0 commit comments

Comments
 (0)