Re: How do you get the OS X version number in C or C++?
Re: How do you get the OS X version number in C or C++?
- Subject: Re: How do you get the OS X version number in C or C++?
- From: chaitanya pandit <email@hidden>
- Date: Sat, 15 Nov 2008 01:48:53 +0530
+ (BOOL)MacOSTigerOrLower
{
UInt32 version;
return (Gestalt(gestaltSystemVersion,(SInt32 *) &version) ==
noErr) && (version < 0x01050 );
}
On 15-Nov-08, at 1:36 AM, Tom Fortmann wrote:
Is there a core foundation function for querying the Mac OS X
operating
system name and version information? The uname() API returns the
Darwin
kernel version information, but I need to find the OS X 10.x.x
information.
Tom Fortmann
Xcape Solutions
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden