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.


On Thursday 05 September 2013 23:23:06 Jia Liu wrote:
> Hi Mike,
> 
> On Fri, Sep 6, 2013 at 9:13 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Thursday 05 September 2013 09:39:00 Jia Liu wrote:
> >> Is this code looks OK?
> >> 
> >> #if defined ( __APPLE_CC__ ) || defined( __FreeBSD__ )
> >> # define __u_char_defined
> >> #endif
> 
> I modify the code into this:
> 
> #if defined __APPLE_CC__ || defined __FreeBSD__
> # define __u_char_defined
> #endif
> 
> and made a test, it still get the same error.

where did you put the code ?  it should have been right above the line:
#ifndef __u_char_defined

you might have to also add in your new snippet:
# define __daddr_t_defined
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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