mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
Un-combine conditionals but flip their order. This should fix the Windows build with older compilers
This commit is contained in:
1 parent
f7c05e1fb8
commit
a56bcda3c1
6 files changed
+16
-6
No files matched your search
@@ -1,4 +1,6 @@
|
||||
#if os(Linux) && compiler(>=6.2)
|
||||
#if compiler(>=6.2)
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
|
||||
public extension IORing {
|
||||
@@ -66,3 +68,4 @@ public extension IORing.Completion {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -1,4 +1,6 @@
|
||||
#if os(Linux) && compiler(>=6.2)
|
||||
#if compiler(>=6.2)
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
|
||||
@usableFromInline
|
||||
@@ -492,3 +494,4 @@ extension IORing.Request {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -1,4 +1,5 @@
|
||||
#if os(Linux) && compiler(>=6.2)
|
||||
#if compiler(>=6.2)
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
// needed for mmap
|
||||
@@ -882,3 +883,4 @@ extension IORing.RegisteredBuffer {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -1,4 +1,5 @@
|
||||
#if os(Linux) && compiler(>=6.2)
|
||||
#if compiler(>=6.2)
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
|
||||
@@ -199,3 +200,4 @@ extension RawIORequest {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
#if os(Linux)
|
||||
#if compiler(>=6.2)
|
||||
#if os(Linux)
|
||||
|
||||
import XCTest
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#if os(Linux)
|
||||
#if compiler(>=6.2)
|
||||
#if os(Linux)
|
||||
|
||||
import XCTest
|
||||
import CSystem //for eventfd
|
||||
|
||||
Reference in new issue
Block a user