Neater "not version (...)" ?
Dennis
dkorpel at gmail.com
Wed Sep 16 19:50:38 UTC 2020
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?
More information about the Digitalmars-d-learn
mailing list