Hi all,
I have a code am working on that requires a certain API that is unfortunately available only on MacOS X 10.7 and above.
While I want to support Mac versions lower than that specified above, I cannot do that because I don't know how to determine the MacOS X version number at runtime.
Does anyone have a code that can help (preferably one not deprecated and not requiring me to import the LCL (that is, will work on Console programs too))?
Something like
If MacOSXVersion >= 10.7 do
begin
end
else
begin
end.
Thanks In advance.