This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]