Skip to content

Commit c2e385e

Browse files
committed
Remove commented-out code pt. 2
1 parent 4911642 commit c2e385e

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

Sources/System/Internals/Constants.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -663,12 +663,6 @@ internal var _AT_SYMLINK_NOFOLLOW_ANY: CInt { AT_SYMLINK_NOFOLLOW_ANY }
663663
internal var _AT_RESOLVE_BENEATH: CInt { AT_RESOLVE_BENEATH }
664664
#endif
665665

666-
// TODO: Re-enable when _GNU_SOURCE can be defined.
667-
//#if os(FreeBSD) || os(Linux) || os(Android)
668-
//@_alwaysEmitIntoClient
669-
//internal var _AT_EMPTY_PATH: CInt { AT_EMPTY_PATH }
670-
//#endif
671-
672666
// MARK: - File Mode / File Type
673667

674668
@_alwaysEmitIntoClient

Tests/SystemTests/StatTests.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -400,13 +400,6 @@ private struct StatTests {
400400

401401
}
402402

403-
// TODO: Re-enable for testing when _GNU_SOURCE can be defined.
404-
//#if !SYSTEM_PACKAGE_DARWIN && !os(WASI)
405-
//private extension FileDescriptor.OpenOptions {
406-
// static var path: Self { Self(rawValue: O_PATH) }
407-
//}
408-
//#endif
409-
410403
// Comparison operators for timespec until UTCClock.Instant properties are available
411404
private func >= (lhs: timespec, rhs: timespec) -> Bool {
412405
(lhs.tv_sec, lhs.tv_nsec) >= (rhs.tv_sec, rhs.tv_nsec)

0 commit comments

Comments
 (0)