Merge pull request #605 from Techatrix/translate-c-patch-undef
emit correct c preprocessor macro in convertCInclude
This commit is contained in:
commit
8cf96fe27c
@ -85,7 +85,7 @@ fn convertCIncludeInternal(
|
||||
try writer.print("#define {s} {s}\n", .{ first, second });
|
||||
}
|
||||
} else if (std.mem.eql(u8, call_name, "@cUndef")) {
|
||||
try writer.print("#undefine {s}\n", .{first});
|
||||
try writer.print("#undef {s}\n", .{first});
|
||||
} else {
|
||||
return error.Unsupported;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user