NLnetLabs / simdzone

Fast and standards compliant DNS zone parser
BSD 3-Clause "New" or "Revised" License
63 stars 11 forks source link

Cleanup endian.h patch for BSD-based systems #209

Closed k0ekk0ek closed 2 months ago

k0ekk0ek commented 2 months ago

Flatten the structure a bit. Also, Linux (at least my Fedora box) does not offer machine/endian.h, so the #ifdef needed a small fix.