Skip to content

Commit 1a97bd6

Browse files
committed
stdlib: define typealias CLongDouble for FreeBSD
This fixes a failure compiling the stdlib where the importer cannot find (i.e., refuses to import) functions _stdlib_remainderl and _stdlib_squareRootl.
1 parent 4603c84 commit 1a97bd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/core/CTypes.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public typealias CLongDouble = Double
101101
#endif
102102
#elseif os(OpenBSD)
103103
public typealias CLongDouble = Float80
104+
#elseif os(FreeBSD)
105+
public typealias CLongDouble = Float80
104106
#endif
105107

106108
// FIXME: Is it actually UTF-32 on Darwin?

0 commit comments

Comments
 (0)