Skip to content

Commit

Permalink
Add -nostdinc to the Aro preprocessor args
Browse files Browse the repository at this point in the history
Don't want Aro searching for any system includes
  • Loading branch information
squeek502 committed Mar 5, 2024
1 parent e74f4a6 commit 5b1b279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/preprocess.zig
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ pub fn appendAroArgs(arena: Allocator, argv: *std.ArrayList([]const u8), options
"-fuse-line-directives",
"--target=x86_64-windows-msvc",
"--emulate=msvc",
"-nostdinc",
"-DRC_INVOKED",
});
for (options.extra_include_paths.items) |extra_include_path| {
Expand Down

0 comments on commit 5b1b279

Please sign in to comment.