compile error on Mac OS X 10.3 (Panther) and the patch

js ebgssth at gmail.com
Wed Nov 28 20:16:27 UTC 2007


Thanks for reply.

The following patch seems to work on panther.

#if defined(__FreeBSD__) || MAC_OS_X_VERSION_MAX_ALLOWED <=
MAC_OS_X_VERSION_10_3

stolen code from
http://www.google.com/codesearch?hl=en&lr=&q=panther+MAC_OS_X_VERSION_MAX_ALLOWED


thanks.

On Nov 29, 2007 2:18 AM, dormando <dormando at rydia.net> wrote:
> js wrote:
> > Thank you.
> > Today I tested 1.2.4-rc1 but it failed with the same error.
> > Isn't this fix included in 1.2.4-rc1?
> >
>
> It's in, I probably goofed it:
>
> #ifndef IOV_MAX
> #if defined(__FreeBSD__) || MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
> # define IOV_MAX 1024
> #endif
> #endif
>
> What was the first version of OS X to support
> 'MAC_OS_X_VERSION_MAX_ALLOWED' ? I tested it on tiger/leopoard, but not
> panther.
>
> You wanna tweak with those lines a bit? I don't have access to a panther
> machine to fix with.
>
> -Dormando
>


More information about the memcached mailing list