Re: How to get the Mac OS X version?
Re: How to get the Mac OS X version?
- Subject: Re: How to get the Mac OS X version?
- From: Rosyna <email@hidden>
- Date: Sat, 8 Sep 2001 07:12:29 -0700
sw_vers outputs the information all nice and pretty in the terminal.
If you don't care about the build number, you can use Carbon's
gestalt.
SInt32 vers;
Gestalt(gestaltSystemVersion,&vers);
if (vers >= 0x00001010)
// do stuff
the above version is 10.1. 10.0.4 is 0x00001004
Ack, at 1/1/70, steg said:
How to get the version of the system? any idea?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insane People