From ff35d9d120941255b545a8e3466f949d90e4e373 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 28 Mar 2022 19:12:25 -0400 Subject: [PATCH] support older compilers in minigui still --- minigui.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minigui.d b/minigui.d index 53dfe6b..635fd03 100644 --- a/minigui.d +++ b/minigui.d @@ -327,12 +327,12 @@ version(Windows) { } version(Windows) { + static if(__VERSION__ >= 2_083) version(CRuntime_Microsoft) { // FIXME: mingw? // assume we want commctrl6 whenever possible since there's really no reason not to // and this avoids some of the manifest hassle pragma(linkerDirective, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\""); } - } // this is a hack to call the original window procedure on native win32 widgets if our event listener thing prevents default.