Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
So if I understand correctly the value of EOPNOTSUPP changed between 10.4 and 10.5. Is there no way to detect the correct value at runtime? It seems like coding one or the other value into the binary will prevent it from working on the "other" OS version...
Well, I wouldn't rush to that conclusion just yet. The only things I can vouch for is that on my MacBook OSX Leopard: - The kernel returns 102 for EOPNOTSUPP. - The include files define it to be: Environment for cpp System include file defintion of MACOSX_DEPLOYMENT_TARGET EOPNOTSUPP undefined 102 10.3 45 10.4 45 10.5 102