Skip to content

Commit ad8fb36

Browse files
committed
Fix the build on WASI
chmod is now defined in the WebAssembly SDK headers.
1 parent fbec096 commit ad8fb36

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Package.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ let package = Package(
2424
.define("_WASI_EMULATED_SIGNAL", .when(platforms: [.wasi])),
2525
.define("_WASI_EMULATED_PROCESS_CLOCKS", .when(platforms: [.wasi])),
2626
.define("_WASI_EMULATED_GETPID", .when(platforms: [.wasi])),
27-
.define("chmod(a,b)=0", .when(platforms: [.wasi])),
2827
],
2928
linkerSettings: [
3029
.linkedLibrary("wasi-emulated-signal", .when(platforms: [.wasi])),

0 commit comments

Comments
 (0)