File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,6 @@ func _convertDarwinBooleanToBool(_ x: DarwinBoolean) -> Bool {
84
84
85
85
#endif
86
86
87
- // wasi-libc defines `errno` in a way ClangImporter can understand, so we don't
88
- // need to define shims for it. On the contrary, if we define the shim, we will
89
- // get an ambiguity error when importing WASILibc module and SwiftWASILibc Clang
90
- // module (or a Clang module that re-exports SwiftWASILibc).
91
- #if !os(WASI)
92
87
//===----------------------------------------------------------------------===//
93
88
// sys/errno.h
94
89
//===----------------------------------------------------------------------===//
@@ -101,7 +96,6 @@ public var errno : Int32 {
101
96
return _swift_stdlib_setErrno ( val)
102
97
}
103
98
}
104
- #endif
105
99
106
100
107
101
//===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments