Skip to content

Commit 07c723a

Browse files
committed
WinSDK: explicitly re-export ucrt
ucrt symbols are already implicitly available after an `import WinSDK` statement, however, WinSDK generated Swift interface does not indicate that. Besides, WinSDK Swift overlay uses `time_t` in its public interface, which is declared in ucrt, but there is no corresponding import statement. This change adds the import statement, to make the dependencies & exports more clear for the users, and to help with IDE integration.
1 parent c5e7a36 commit 07c723a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Windows/WinSDK.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
@_exported import ucrt
1314
@_exported import WinSDK // Clang module
1415

1516
// WinBase.h

0 commit comments

Comments
 (0)