[Development] About the presence of /System/Library/Frameworks/Carbon.framework

Konstantin Tokarev annulen at yandex.ru
Thu Dec 21 18:19:03 CET 2017



21.12.2017, 19:53, "René J.V. Bertin" <rjvbertin at gmail.com>:
> On Thursday December 21 2017 16:25:02 Jake Petroules wrote:
>
>>  > Possibly: just `uname` returns Darwin. That should certainly work for the desktop OS, but I have no way of checking what it returns on other Apple OSes
>>
>>  they all return "Darwin"
>
> Figures...
>
>>  > (and if the Carbon.framework exists there).
>>
>>  it does not :)
>
> I'm pretty sure `sysctl hw.model` doesn't return anything that starts with Mac when you're not on a Mac though?

Are you trying to distinguish it from PureDarwin?

>
> R

-- 
Regards,
Konstantin



More information about the Development mailing list