summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-01 16:39:34 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-01 16:39:34 +0200
commitc2175d25248fc25356c881798d688d8745cb5359 (patch)
tree76165d255f5d1a116f59bc1e1133affb96b971d7 /extras
parent1893cf588f3d428a35a46030deca4ea54be71320 (diff)
volume_id: fail on undefined __BYTE_ORDER
Diffstat (limited to 'extras')
-rw-r--r--extras/volume_id/lib/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/md5.c b/extras/volume_id/lib/md5.c
index 0860660066..9c4b284644 100644
--- a/extras/volume_id/lib/md5.c
+++ b/extras/volume_id/lib/md5.c
@@ -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