From 1d5e13170ae243fb07b62821fcd981509e75b626 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 28 Aug 2022 13:31:49 +0200 Subject: [PATCH] Always use C99 standard --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index e2415ba..ab872d2 100644 --- a/build.rs +++ b/build.rs @@ -5,6 +5,7 @@ fn main() { cc::Build::new() .warnings(true) .extra_warnings(true) + .flag("-std=c99") .file("./src/snprintf.c") .compile("clocal"); }