On September 25, 2016 at 7:13:21 PM, Adrian Chadd ([email protected]) 
wrote:

Hi, 

Yeah, for portable-y stuff, I'd recommend: 

#include "endian.h" -> #ifdef __FreeBSD__ #include <sys/endian.h> 
#elif __Apple__ etc, etc. 

That way we don't duplicate contents. 

Same with sys/queue.h, etc. 
We may even want to do <compat/endian.h>, <compat/queue.h>, etc. The compat 
directory can be shared by all build utilities that need portability.  That way 
we only have to solve portability problems once.  The name compat is but a 
suggestion.


Attachment: signature.asc
Description: Message signed with OpenPGP using AMPGpg

Reply via email to