From 7154b5d18ccb15749025f2c438bac877f18c7b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Dr=C3=B6nner?= Date: Fri, 18 Dec 2020 22:28:19 +0100 Subject: [PATCH] add .size_t_is_usize(true) to bindgen in gdal-sys --- gdal-sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal-sys/build.rs b/gdal-sys/build.rs index 759e98203..00aa7502a 100644 --- a/gdal-sys/build.rs +++ b/gdal-sys/build.rs @@ -9,6 +9,7 @@ use std::path::{Path, PathBuf}; #[cfg(feature = "bindgen")] pub fn write_bindings(include_paths: Vec, out_path: &Path) { let mut builder = bindgen::Builder::default() + .size_t_is_usize(true) .header("wrapper.h") .constified_enum_module(".*") .ctypes_prefix("libc")