File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,8 +131,7 @@ pub fn build(b: *std.Build) void {
131131 );
132132 },
133133 .emscripten = > {
134- root_module .addCMacro ("UV_PLATFORM_LOOP_FIELDS" ,
135- "struct pollfd* poll_fds; size_t poll_fds_used; size_t poll_fds_size; unsigned char poll_fds_iterating;" );
134+ root_module .addCMacro ("UV_PLATFORM_LOOP_FIELDS" , "struct pollfd* poll_fds; size_t poll_fds_used; size_t poll_fds_size; unsigned char poll_fds_iterating;" );
136135 root_module .addCSourceFiles (.{
137136 .root = src_root ,
138137 .files = emscripten_sources ,
@@ -142,9 +141,6 @@ pub fn build(b: *std.Build) void {
142141 include_root .path (b , "uv/posix.h" ),
143142 "uv/posix.h" ,
144143 );
145- if (b .sysroot ) | sysroot | {
146- root_module .addSystemIncludePath (.{ .cwd_relative = b .pathJoin (&.{ sysroot , "include" }) });
147- }
148144 },
149145 .haiku = > {
150146 root_module .addCMacro ("_BSD_SOURCE" , "" );
You can’t perform that action at this time.
0 commit comments