Skip to content

Commit cafa822

Browse files
committed
[i686 Linux] Fix undefined ‘__swift_ssize_t’
1 parent 965f619 commit cafa822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SwiftShims/LibcShims.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace swift { extern "C" {
3333

3434
// This declaration is not universally correct. We verify its correctness for
3535
// the current platform in the runtime code.
36-
#if defined(__linux__) && defined (__arm__)
36+
#if defined(__linux__) && (defined(__arm__) || defined(__i386__))
3737
typedef int __swift_ssize_t;
3838
#elif defined(_WIN32)
3939
#if defined(_M_ARM) || defined(_M_IX86)

0 commit comments

Comments
 (0)