Skip to content

Commit 14718d1

Browse files
committed
feat: add c99 mode in build.rs for issue BurntSushi#33
1 parent 5c5d720 commit 14718d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pcre2-sys/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ fn main() {
8585
{
8686
builder.debug(true);
8787
}
88+
// Enable c99 mode to compile pcre2 for issue #33
89+
builder.flag("-std=c99");
8890
builder.compile("libpcre2.a");
8991
}
9092

0 commit comments

Comments
 (0)