chiark / gitweb /
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 0860660..9c4b284 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