Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Fix type issue for compilation targeting windows #98

Merged
merged 1 commit into from
Jul 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down