Re: OSX platform code

new topic     » goto parent     » topic index » view thread      » older message » newer message
Jeremy Cowgar said...
Marco A. Achury P. said...

What platform() code do you plan to use on OSX?

So, the long story is, platform() returns 4, but you should use ifdef. smile

Jeremy

I recall that platform() once returned 4 for FreeBSD, but Rob got so many complaints over it that he changed it to return 3 for FreeBSD.k

Also, the builtin platform() returns a 4 for OSX but the machine function (machine_func(53, {}) ) returns a 3 on OSX. So there is somewhat of an inconsistency here, but probably not a big deal since both are now decapricated.

Another reason to move to the ifdef system. :p

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu