Version identifier for PS4

Markus Pursche via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 9 06:28:46 PDT 2016


On Thursday, 9 June 2016 at 13:16:58 UTC, Steven Schveighoffer 
wrote:
> On 6/9/16 9:09 AM, Markus Pursche wrote:
>> On Thursday, 9 June 2016 at 12:38:51 UTC, rikki cattermole 
>> wrote:
>>> [...]
>>
>> As the "author"(?) of that pull request I would love to get a 
>> discussion
>> going.
>>
>> PS4 vs Orbis vs PlayStation4 so far.
>>
>> The reason I went for the acronym is that all other tools I 
>> could find
>> with a reference to PS4 used the acronym, I guess that is a 
>> bad reason
>> though.
>>
>> I am open to making another pullrequest with another 
>> identifier as long
>> as we can get a general consensus about which one to use.
>
> 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.
>
> So if Sony uses PS4 as a define, I think that's logical to use 
> for the version statement.
>
> -Steve
I dont think Sony has any official #defines but all game engines 
I have ever used (proprietary, Unity, Unreal) preferred 
PLATFORM_PS4 over PLATFORM_PLAYSTATION4 or PLATFORM_ORBIS.



More information about the Digitalmars-d mailing list