Skip to content

Commit

Permalink
Merge pull request apple#170 from glessard/platform-flags
Browse files Browse the repository at this point in the history
Make a platform-specific flag explicitly platform-specific
  • Loading branch information
glessard authored Jul 5, 2024
2 parents 05fb1f1 + b0e2a51 commit 8078852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let package = Package(
path: "Sources/System",
exclude: ["CMakeLists.txt"],
cSettings: [
.define("_CRT_SECURE_NO_WARNINGS")
.define("_CRT_SECURE_NO_WARNINGS", .when(platforms: [.windows]))
],
swiftSettings: [
.define("SYSTEM_PACKAGE"),
Expand Down

0 comments on commit 8078852

Please sign in to comment.