Skip to content

Commit a714760

Browse files
committed
---
yaml --- r: 318967 b: refs/heads/master-rebranch c: 4c24e5b h: refs/heads/master i: 318965: 599d16b 318963: 32f40dc 318959: 53f859c
1 parent c39d0a1 commit a714760

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,4 +1457,4 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-02-a: ddd2b2976aa9bfde5f20fe37f6bd2
14571457
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-03-a: 171cc166f2abeb5ca2a4003700a8a78a108bd300
14581458
refs/heads/benlangmuir-patch-1: baaebaf39d52f3bf36710d4fe40cf212e996b212
14591459
refs/heads/i-do-redeclare: 8c4e6d5de5c1e3f0a2cedccf319df713ea22c48e
1460-
refs/heads/master-rebranch: 6aaee7a11c3ffe34fbd12d1bda13076a1587d870
1460+
refs/heads/master-rebranch: 4c24e5bf582df8e9dbd2dd45082657da4cd280d4

branches/master-rebranch/stdlib/public/SwiftShims/LibcShims.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ float _swift_stdlib_log1pf(float x) {
213213

214214
static inline SWIFT_ALWAYS_INLINE
215215
float _swift_stdlib_hypotf(float x, float y) {
216+
#if defined(_WIN32)
217+
return _hypotf(x, y);
218+
#else
216219
return __builtin_hypotf(x, y);
220+
#endif
217221
}
218222

219223
static inline SWIFT_ALWAYS_INLINE

0 commit comments

Comments
 (0)