From af92c0e408642d83cf7120bb0bfef79beba8cbe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?furby=E2=84=A2?= Date: Wed, 30 Oct 2024 12:06:35 -0600 Subject: [PATCH] Windows: turn static_assert into variadic macro. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: furby™ --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index a907361..cc76f48 100644 --- a/Package.swift +++ b/Package.swift @@ -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)