Why version() ?

Anders F Björklund afb at algonet.se
Thu Feb 12 03:12:44 PST 2009


Walter Bright wrote:

> Fortunately, (darwin) => (OSX) is a trivial global search/replace.

That breaks GDC and LDC compatibility, unfortunately...

So it'll be something like the Unix vs. Posix sitation.
(where GDC pre-defines Unix and LDC pre-defines Posix)

Maybe version(DigitalMars) version(OSX) version=darwin;

--anders



More information about the Digitalmars-d mailing list