On Wednesday, 16 September 2020 at 19:04:24 UTC, Vladimirs Nordholm wrote:
Ah, I guess it boils down to this then. Doesn't really make it "neater", but thank you for the tip!

IMO, just keep it as `version(Windows) {} else { ... }` if you HAVE to instead of one of the workarounds people suggest. I do wonder what kind of code runs on the "not Windows" operating system though, do you mean `version(Posix)` perhaps?

Reply via email to