mirror of
https://github.com/apple/swift-system
synced 2026-11-28 05:14:33 +00:00
Make a platform-specific flag explicitly platform-specific
This commit is contained in:
1 parent
cf5e688e70
commit
b0e2a510ed
1 file changed
+1
-1
+1
-1
@@ -27,7 +27,7 @@ let package = Package(
|
||||
dependencies: ["CSystem"],
|
||||
path: "Sources/System",
|
||||
cSettings: [
|
||||
.define("_CRT_SECURE_NO_WARNINGS")
|
||||
.define("_CRT_SECURE_NO_WARNINGS", .when(platforms: [.windows]))
|
||||
],
|
||||
swiftSettings: [
|
||||
.define("SYSTEM_PACKAGE_DARWIN", .when(platforms: [.macOS, .iOS, .watchOS, .tvOS, .visionOS])),
|
||||
|
||||
Reference in new issue
Block a user