Commit 0895ff6
committed
FreeBSD/OpenBSD: Gate GNU-only API
FreeBSD and OpenBSD currently use the Glibc modulemap to import the C
runtimes so `canImport(Glibc)` returns true. These systems are not
actually glibc though and do not have the `gnu_get_libc_version`
extension, resulting in build failures.
Gating the use of the API on more than glibc to allow these platforms to
compile.1 parent 3278217 commit 0895ff6
File tree
2 files changed
+2
-2
lines changed- Sources/Testing
- ExitTests
- Support
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments