blob: 90ea9b8be0382b971d05452ceed05958ca20c1b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
--- pgx/pgx-pg-sys/build.rs.orig 2022-11-06 21:01:34.720308000 +0000
+++ pgx/pgx-pg-sys/build.rs 2022-11-06 21:02:14.469075000 +0000
@@ -507,6 +507,7 @@
let bindings = bindgen::Builder::default()
.header(include_h.display().to_string())
.clang_arg(&format!("-I{}", includedir_server.display()))
+ .clang_arg("-I%%LOCALBASE%%/include")
.parse_callbacks(Box::new(IgnoredMacros::default()))
.blocklist_function("varsize_any") // pgx converts the VARSIZE_ANY macro, so we don't want to also have this function, which is in heaptuple.c
.blocklist_function("query_tree_walker")
|