diff --git a/pcre2-sys/build.rs b/pcre2-sys/build.rs index b0414c5..01e8b36 100644 --- a/pcre2-sys/build.rs +++ b/pcre2-sys/build.rs @@ -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"); }