mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-07-10 21:18:39 -07:00
Fix type issue for compilation targeting windows
This commit is contained in:
committed by
Till Höppner
parent
d12f0d1fb2
commit
ad4f638ad5
@@ -1076,6 +1076,9 @@ fn thread_main() {
|
||||
.ctypes_prefix("libc")
|
||||
// https://github.com/rust-lang/rust-bindgen/issues/550
|
||||
.blocklist_type("max_align_t")
|
||||
// Issue on aligned and packed struct. Related to:
|
||||
// https://github.com/rust-lang/rust-bindgen/issues/1538
|
||||
.opaque_type("__mingw_ldbl_type_t")
|
||||
// these are never part of ffmpeg API
|
||||
.blocklist_function("_.*")
|
||||
// Rust doesn't support long double, and bindgen can't skip it
|
||||
|
||||
Reference in New Issue
Block a user