Recommended coding convention for combining unix and windows code ?
Johan Engelen via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 7 09:59:58 PDT 2016
On Tuesday, 7 June 2016 at 15:33:57 UTC, chmike wrote:
>
> or should I do it the C way with multiple embedded static if...
In your example, `version` would also work instead of `static if`.
I would not copy much code needlessly, and go with the embedded
version/static ifs.
- Johan
More information about the Digitalmars-d-learn
mailing list