--- a/src/lib/alac/alac.c
+++ b/src/lib/alac/alac.c
@@ -29,7 +29,7 @@
  *
  */
 
-static const int host_bigendian = 0;
+#define host_bigendian (htonl(42) == 42)
 
 #include <stdio.h>
 #include <stdlib.h>
