Skip to content

Commit

Permalink
Windows: turn static_assert into variadic macro.
Browse files Browse the repository at this point in the history
Signed-off-by: furby™ <[email protected]>
  • Loading branch information
furby-tm committed Oct 30, 2024
1 parent e5e5764 commit af92c0e
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 @@ -329,7 +329,7 @@ let package = Package(
.define("IMGUI_ENABLE_FREETYPE", to: "1"),
.define("_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH", .when(platforms: [.windows])),
.define("_ALLOW_KEYWORD_MACROS", to: "1", .when(platforms: [.windows])),
.define("static_assert(_conditional, _message)", to: "", .when(platforms: [.windows])),
.define("static_assert(_conditional, ...)", to: "", .when(platforms: [.windows])),
],
swiftSettings: [
.interoperabilityMode(.Cxx)
Expand Down

0 comments on commit af92c0e

Please sign in to comment.