On Thursday December 21 2017 13:47:34 Konstantin Tokarev wrote: > Check uname maybe? 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 (and if the Carbon.framework exists there). R.