On 06-11-2011 13:07, Nick Sabalausky wrote:
"Walter Bright"<[email protected]> wrote in message
news:[email protected]...
On 11/5/2011 2:07 PM, Jonathan M Davis wrote:
dmd's version identifiers are annoyingly variable (e.g. linux is
camelcased,
whereas Windows is Pascal-cased and OSX is all uppercase).
What they do is follow the casing and spelling of the pre-defined macros
of the local C compiler.
That makes it easy to remember! (Not!)
I have to say, following C compilers in macro definitions is more
error-prone than just defining a more sane, standardized set of version
identifiers. Not everyone writing D code will be familiar with C.
- Alex