Commit 853b681
committed
CoreFoundation: adjust declaration of private SPI
The SPI declaration for `libdispatch_init` was not attribtued properly.
The result of this omission was an improper reference to the function on
Windows when disaptch is _not_ linked statically. Correct the
declaration by re-using the `DISPATCH_EXPORT` macro to decorate the
declaration with the appropriate DLLStorage as necessary.
This was caught by running the Foundation tests with SPM with a
refactoring of the toolchain layout during the build.1 parent 54c4e51 commit 853b681
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
1165 | 1169 | | |
1166 | 1170 | | |
1167 | 1171 | | |
1168 | | - | |
1169 | | - | |
| 1172 | + | |
| 1173 | + | |
1170 | 1174 | | |
1171 | 1175 | | |
1172 | 1176 | | |
| |||
0 commit comments