Version identifier for PS4
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 10 01:56:57 PDT 2016
On 2016-06-09 15:16, Steven Schveighoffer wrote:
> The precedent is to use whatever the OS defines for the host C compiler.
>
> This is the reason we have lower case "linux" for version, which is
> inconsistent with other version identifiers, but consistent with Linux's
> #define in C code.
That's only true for the "linux" identifier. The other ones are using
the more "official" name and casing of the operating system. Example:
the C preprocessor identifier for OS X is __APPLE__, but in D it's "OSX".
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list