We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5373871 commit 47a12a4Copy full SHA for 47a12a4
c2rust-transpile/src/c_ast/conversion.rs
@@ -2003,6 +2003,12 @@ impl ConversionContext {
2003
.to_str()
2004
.map(|s| s.starts_with("__stddef_"))
2005
.unwrap_or(false)
2006
+ // darwin-xnu
2007
+ || filename == "_types.h"
2008
+ || filename
2009
+ .to_str()
2010
+ .map(|s| s.starts_with("_int") || s.starts_with("_u_int"))
2011
+ .unwrap_or(false)
2012
{
2013
typ = id_for_name(&*name).unwrap_or(typ);
2014
}
0 commit comments