diff --git a/Sources/System/Internals/Constants.swift b/Sources/System/Internals/Constants.swift index 8740d81..3e71ec9 100644 --- a/Sources/System/Internals/Constants.swift +++ b/Sources/System/Internals/Constants.swift @@ -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 diff --git a/Tests/SystemTests/StatTests.swift b/Tests/SystemTests/StatTests.swift index 299dd8e..524226d 100644 --- a/Tests/SystemTests/StatTests.swift +++ b/Tests/SystemTests/StatTests.swift @@ -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)