Skip to content

Commit b86da25

Browse files
committed
shims: repair cygwin build
This was a typo in the commit. Unfortunately, we dont have any tests for the cygwin target, so this wasnt caught. The alternate code path is for the MSVC code path which is under development via cross-compilation.
1 parent f52555e commit b86da25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/SwiftShims/LibcShims.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace swift { extern "C" {
3333
typedef int __swift_ssize_t;
3434
#elif defined(_MSC_VER)
3535
#if defined(_M_ARM) || defined(_M_IX86)
36-
typedef int __swift_size_t;
36+
typedef int __swift_ssize_t;
3737
#elif defined(_M_X64)
38-
typedef long long int __swift_size_t;
38+
typedef long long int __swift_ssize_t;
3939
#else
4040
#error unsupported machine type
4141
#endif

0 commit comments

Comments
 (0)