]> err.no Git - systemd/commitdiff
volume_id: fail on undefined __BYTE_ORDER
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 1 Sep 2008 14:39:34 +0000 (16:39 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 1 Sep 2008 14:39:34 +0000 (16:39 +0200)
extras/volume_id/lib/md5.c

index 08606600666dad3b94eec753c66f30f83f22df09..9c4b28464457e8b56ee974021baef64034039593 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "md5.h"
 
-#if !(__BYTE_ORDER == __LITTLE_ENDIAN) && !(__BYTE_ORDER == __BIG_ENDIAN)
+#if !defined __BYTE_ORDER || !(__BYTE_ORDER == __LITTLE_ENDIAN) && !(__BYTE_ORDER == __BIG_ENDIAN)
 #error missing __BYTE_ORDER
 #endif