Skip to content

Commit

Permalink
Define PD_INTERNAL as true
Browse files Browse the repository at this point in the history
  • Loading branch information
alisomay committed Nov 28, 2024
1 parent ff04728 commit 2b84896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +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("-DPD_INTERNAL=1")
.clang_arg("-std=c11")
// Tell cargo to invalidate the built crate whenever any of the
// included header files changed.
Expand Down

0 comments on commit 2b84896

Please sign in to comment.