Skip to content

Commit

Permalink
Merge pull request meh#98 from Nutigoodpipes/fix-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski authored Jul 1, 2021
2 parents 762fcd5 + a3e2a25 commit f3fa462
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/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

0 comments on commit f3fa462

Please sign in to comment.