Predefined Versions for Apple Operating Systems
Walter Bright
newshound2 at digitalmars.com
Sat Jun 21 22:31:22 UTC 2025
On 6/21/2025 2:45 PM, Sergey wrote:
> On Saturday, 21 June 2025 at 21:26:08 UTC, Walter Bright wrote:
>> On 6/21/2025 1:28 PM, Richard (Rikki) Andrew Cattermole wrote:
>>> Darwin is still relevant:
>>> https://en.wikipedia.org/wiki/Darwin_(operating_system)
>>>
>> Darwin also suffers from multiple incantations:
>>
>> darwin Darwin __DARWIN__ DARWIN __MACH__
>
> Darwin is still widely used:
> https://doc.rust-lang.org/beta/std/os/darwin/index.html
> https://go.dev/wiki/Darwin
> https://github.com/ziglang/zig/blob/master/lib/std/c/darwin.zig
__APPLE__ is used by ImportC, as that's what I found in the OSX system .h files.
More information about the Digitalmars-d
mailing list