Skip to content

Commit 4fd19a8

Browse files
authored
Merge pull request #31019 from compnerd/x86-shims
runtime: extend shims to x86
2 parents 0eb9180 + dbbd6c9 commit 4fd19a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/Float16Support.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// Android NDK <r21 do not provide `__aeabi_d2h` in the compiler runtime,
3131
// provide shims in that case.
3232
#if (defined(ANDROID) && defined(__ARM_ARCH_7A__) && defined(__ARM_EABI__)) || \
33-
(defined(__x86_64__) && !defined(__APPLE__))
33+
((defined(__i686__) || defined(__x86_64__)) && !defined(__APPLE__))
3434

3535
#include "../SwiftShims/Visibility.h"
3636

0 commit comments

Comments
 (0)