Predefined Version Identifier on Linux

Shan-yung Yang littleshan at gmail.com
Wed Mar 28 04:46:15 PDT 2007


Walter Bright Wrote:

> Shan-yung Yang wrote:
> > I wonder why the first letter of predefined identifier "linux" is not uppercased. This looks inconsistent with other uppercased identifiers and makes users confused.
> 
> 
> It's consistent with the macro "linux" predefined by gcc on linux.

But on windows almost all compilers use "WIN32" or "_WIN32" with all letters uppercased. Should D also use "WIN32" by this reason?



More information about the Digitalmars-d mailing list