[ipv6hackers] Definition of "struct ip6_opt" in Mac OS

Fernando Gont fgont at si6networks.com
Thu Jul 19 21:58:14 CEST 2012

On 07/19/2012 08:27 PM, Adrian Bool wrote:
> If that's the case, is there any compile-time constant that I could
> use
>> to check the Xcode version?
> Not that I know of for Xcode.  Here's a list of the defined
> constants (unlikely to be exhaustive),
> https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html
>  It includes GCC version (GCC_VERSION) and the OS version 
> (MACOSX_DEPLOYMENT_TARGET)  - one of these may help?
> Perhaps the system on which the issue was reported had an updated OS
> but still had the old library files?

Apparently, that was the case (I'll double-check soon).

However, if the header files come with Xcode rather than the system,
what matters (at least for this specific case) is the *Xcode* version
rather than the OS version....


Best regards,
Fernando Gont
SI6 Networks
e-mail: fgont at si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492

More information about the Ipv6hackers mailing list