Commit 6c54e5b
committed
[Data] Fix build issue with Static SDK for Linux.
Musl's definition of `S_IFMT` gets imported by the Swift importer, which
means Swift can see `S_IFMT` as a `CInt` and also `S_IFMT` from the Swift
overlay as a `mode_t`. The upshot is that attempting to convert it to
`mode_t` produces an ambiguity error, as Swift doesn't know which
definition to use.1 parent 320c583 commit 6c54e5b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
337 | 340 | | |
| 341 | + | |
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
| |||
0 commit comments