diff --git a/build.rs b/build.rs index dbfba09..a3d21d0 100644 --- a/build.rs +++ b/build.rs @@ -240,8 +240,7 @@ fn main() { .clang_arg(format!("-I{}", libpd_wrapper_dir.to_str().unwrap())) .clang_arg(format!("-I{}", pd_source.to_str().unwrap())) .clang_arg(format!("-DPD_FLOATSIZE={PD_FLOATSIZE}")) - .clang_arg("-DPD_INTERNAL=0") // Undefine PD_INTERNAL because it is not needed for bindings and cmake complains about it. - .clang_arg("-std=c11") + .clang_arg("-DPD_INTERNAL=1") // Tell cargo to invalidate the built crate whenever any of the // included header files changed. .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()));