Re: [PATCH iptables 1/1] configure: Determine if musl is used for build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Phil,

> Thanks for the patch! I tested and it may be simplified a bit:
> 
> [...]
> > +	#if defined(__UAPI_DEF_ETHHDR) && __UAPI_DEF_ETHHDR == 0
> > +		return 0;
> > +	#else
> > +		#error error trying musl...
> > +	#endif
> [...]
> 
> Since the non-failure case is the default, this is sufficient:
> 
> |       #if ! defined(__UAPI_DEF_ETHHDR) || __UAPI_DEF_ETHHDR != 0
> |               #error error trying musl...
> |       #endif
> 
> Fine with you? If so, I'll push the modified patch out.
> 
> Thanks, Phil

Looks good to me :)

Cheers,

Josh




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux