Skip to content

Commit 1eeedd3

Browse files
authored
Merge pull request #19417 from compnerd/android-aarch64-mode_t
shims: correct `__swift_mode_t` for android-aarch64
2 parents fdaf1ba + 8e6d86e commit 1eeedd3

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
@@ -50,7 +50,7 @@ typedef long int __swift_ssize_t;
5050
// This declaration might not be universally correct.
5151
// We verify its correctness for the current platform in the runtime code.
5252
#if defined(__linux__)
53-
# if defined(__ANDROID__)
53+
# if defined(__ANDROID__) && !defined(__aarch64__)
5454
typedef __swift_uint16_t __swift_mode_t;
5555
# else
5656
typedef __swift_uint32_t __swift_mode_t;

0 commit comments

Comments
 (0)