Skip to content
Snippets Groups Projects
  • Justin Hibbits's avatar
    f29aa23b
    Fix FreeBSD endian checks · f29aa23b
    Justin Hibbits authored
    FreeBSD, like OpenBSD, uses BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER,
    whereas Linux and compatibles use __-prefixed names.  Define the names
    the same as the OpenBSD block below it.
    f29aa23b
    History
    Fix FreeBSD endian checks
    Justin Hibbits authored
    FreeBSD, like OpenBSD, uses BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER,
    whereas Linux and compatibles use __-prefixed names.  Define the names
    the same as the OpenBSD block below it.