Commit 3251df8
committed
[Concurrency] Don't use getenv() unless SWIFT_STDLIB_HAS_ENVIRON is set.
We don't necessarily have environment variables, which is why we have
SWIFT_STDLIB_HAS_ENVIRON. Calling getenv() outside of a check of this
means Concurrency won't work in environments where getenv() cannot
be used.
rdar://910500641 parent 230c435 commit 3251df8
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
| |||
0 commit comments