Skip to content

Commit e2788fd

Browse files
author
Max Moiseev
committed
Fix access level for extern_proc.p_starttime
Fixes: <rdar://problem/31549450>
1 parent 5daa71c commit e2788fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/Platform/Darwin.swift.gyb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ public let ${prefix}_TRUE_MIN = ${type}.leastNonzeroMagnitude
7474
// Macros defined in bsd/sys/proc.h that do not import into Swift.
7575
extension extern_proc {
7676
// #define p_starttime p_un.__p_starttime
77-
@_transparent var p_starttime: timeval {
77+
@_transparent
78+
public var p_starttime: timeval {
7879
get { return self.p_un.__p_starttime }
7980
set { self.p_un.__p_starttime = newValue }
8081
}

0 commit comments

Comments
 (0)