mirror of
https://github.com/apple/swift-system
synced 2026-11-29 05:24:25 +00:00
Remove commented-out code pt. 2
This commit is contained in:
2 files changed
-13
No files matched your search
@@ -663,12 +663,6 @@ internal var _AT_SYMLINK_NOFOLLOW_ANY: CInt { AT_SYMLINK_NOFOLLOW_ANY }
|
||||
internal var _AT_RESOLVE_BENEATH: CInt { AT_RESOLVE_BENEATH }
|
||||
#endif
|
||||
|
||||
// TODO: Re-enable when _GNU_SOURCE can be defined.
|
||||
//#if os(FreeBSD) || os(Linux) || os(Android)
|
||||
//@_alwaysEmitIntoClient
|
||||
//internal var _AT_EMPTY_PATH: CInt { AT_EMPTY_PATH }
|
||||
//#endif
|
||||
|
||||
// MARK: - File Mode / File Type
|
||||
|
||||
@_alwaysEmitIntoClient
|
||||
|
||||
@@ -400,13 +400,6 @@ private struct StatTests {
|
||||
|
||||
}
|
||||
|
||||
// TODO: Re-enable for testing when _GNU_SOURCE can be defined.
|
||||
//#if !SYSTEM_PACKAGE_DARWIN && !os(WASI)
|
||||
//private extension FileDescriptor.OpenOptions {
|
||||
// static var path: Self { Self(rawValue: O_PATH) }
|
||||
//}
|
||||
//#endif
|
||||
|
||||
// Comparison operators for timespec until UTCClock.Instant properties are available
|
||||
private func >= (lhs: timespec, rhs: timespec) -> Bool {
|
||||
(lhs.tv_sec, lhs.tv_nsec) >= (rhs.tv_sec, rhs.tv_nsec)
|
||||
|
||||
Reference in new issue
Block a user