Un-combine conditionals but flip their order. This should fix the Windows build with older compilers

This commit is contained in:
David Smith committed 2025-07-11 19:07:04 +00:00
1 parent f7c05e1fb8
commit a56bcda3c1
6 files changed
+16 -6

No files matched your search

+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+3 -1
View File
@@ -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
+3 -1
View File
@@ -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 -1
View File
@@ -1,5 +1,5 @@
#if os(Linux)
#if compiler(>=6.2)
#if os(Linux)
import XCTest
+1 -1
View File
@@ -1,5 +1,5 @@
#if os(Linux)
#if compiler(>=6.2)
#if os(Linux)
import XCTest
import CSystem //for eventfd