This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] sunrpc/rpc/types.h: Fix OS X build problem.
- From: Jia Liu <proljc at gmail dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 5 Sep 2013 21:25:36 +0800
- Subject: Re: [PATCH] sunrpc/rpc/types.h: Fix OS X build problem.
- Authentication-results: sourceware.org; auth=none
- References: <1378366884-29968-1-git-send-email-proljc at gmail dot com> <201309050708 dot 15549 dot vapier at gentoo dot org>
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