We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e87a4d commit aaa7f1aCopy full SHA for aaa7f1a
Changelog.md
@@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.
4
This project adheres to [Semantic Versioning](http://semver.org/).
5
6
## [Unreleased]
7
-
+### Fixed
8
+- Fix handling of blocks in OS X headers
9
10
## [0.19.0] - 2016-07-17
11
### Breaking
src/lib.rs
@@ -213,6 +213,9 @@ impl Default for BindgenOptions {
213
args.push("-idirafter".to_owned());
214
args.push(dir.to_str().unwrap().to_owned());
215
}
216
+ if cfg!(target_os="macos") {
217
+ args.push("-U__BLOCKS__".to_owned());
218
+ }
219
BindgenOptions {
220
match_pat: Vec::new(),
221
builtins: false,
0 commit comments