Skip to content

Commit

Permalink
feat: add c99 mode in build.rs for issue BurntSushi#33
Browse files Browse the repository at this point in the history
  • Loading branch information
Peefy committed Jul 27, 2023
1 parent 5c5d720 commit 14718d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pcre2-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ fn main() {
{
builder.debug(true);
}
// Enable c99 mode to compile pcre2 for issue #33
builder.flag("-std=c99");
builder.compile("libpcre2.a");
}

Expand Down

0 comments on commit 14718d1

Please sign in to comment.