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 Mike,

On Thu, Sep 5, 2013 at 7:08 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Thursday 05 September 2013 03:41:24 Jia Liu wrote:
>> --- a/sunrpc/rpc/types.h
>> +++ b/sunrpc/rpc/types.h
>> @@ -69,6 +69,7 @@ typedef unsigned long rpcport_t;
>>  #include <sys/types.h>
>>  #endif
>>
>> +#ifndef __APPLE_CC__
>>  #ifndef __u_char_defined
>
>
> if we do want to support this, it'd probably be even simpler:
> #ifdef __APPLE_CC__
> # define __u_char_defined
> #endif

Thank you for the code, I'll make a V2 patch soon.

> -mike

Regards,
Jia


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