[Openmcl-devel] Determining OSX version at runtime
raffaelcavallaro at mac.com
Thu Aug 26 16:12:36 UTC 2010
On Aug 26, 2010, at 11:51 AM, Neil Baylis wrote:
> What's the correct way to determine the OSX version at runtime?
> Specifically, how do I make the behavior change if it's 10.6 or later?
I use this hack to distinguish between 10.5 and 10.6, since mainQueue is only available 10.6 or later according to Apple's docs:
? (defun snow-leopard-or-later-p ()
(#/respondsToSelector: ns:ns-operation-queue (objc::@selector "mainQueue")))
raffaelcavallaro at me.com
More information about the Openmcl-devel