003-fix_big-endian.patch 204 B

1234567891011
  1. --- a/src/lib/alac/alac.c
  2. +++ b/src/lib/alac/alac.c
  3. @@ -29,7 +29,7 @@
  4. *
  5. */
  6. -static const int host_bigendian = 0;
  7. +#define host_bigendian (htonl(42) == 42)
  8. #include <stdio.h>
  9. #include <stdlib.h>