• Bruno Randolf's avatar
    move endian conversion to util.h · b2959130
    Bruno Randolf authored
    add host-to-le conversion macros too.
    
    the reason i cant use #define _BSD_SOURCE is that older glibc versions don't
    support it, so i am copying the relevant parts.
    b2959130
util.h 2.09 KB