Re: OSX platform code
- Posted by Daryl Border Jul 12, 2008
- 758 views
Jim C. Brown said...
Marco A. Achury P. said...
What platform() code do you plan to use on OSX?
I don't know this system.
Is this system so similar to Linux-BSD that we can use the same code? or is better assign a new code?
I believe it is set up to return a 3. They are all UNIX.
It is highly recommended to use the new ifdef system instead of platform(). platform() is now decapricated.
If you eliminate platform() shrouded programs will no longer be platform independant. Shrouded programs are pre-parsed il code. ifdef is a compile time function and can't be used to make decisions based on the platform with shrouded programs. Daryl