[PATCH] sunrpc/rpc/types.h: Fix OS X build problem.

Jia Liu proljc@gmail.com
Thu Sep 5 13:24:00 GMT 2013


Hi Andreas,

On Thu, Sep 5, 2013 at 6:01 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Jia Liu <proljc@gmail.com> writes:
>
>> When I build arm-linux-gcc on OS X, I find glibc will get a build error
>> in sunrpc/rpc/types.h, so I add __APPLE_CC__ to make OS X build OK.
>>
>> ChangeLog:
>>
>> 2013-09-05   Jia Liu  <proljc@gmail.com>
>>
>>   * sunrpc/rpc/types.h (__APPLE_CC__): New variable.
>
> This is wrong, you are not defining the macro here, you are using it.
> Write this:
>
>         * sunrpc/rpc/types.h [__APPLE_CC__]: Don't define u_char, etc.
>

Thank you, I will change it in V2.

> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."

Regards,
Jia



More information about the Libc-alpha mailing list