From c2175d25248fc25356c881798d688d8745cb5359 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 1 Sep 2008 16:39:34 +0200 Subject: [PATCH] volume_id: fail on undefined __BYTE_ORDER --- extras/volume_id/lib/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/volume_id/lib/md5.c b/extras/volume_id/lib/md5.c index 08606600..9c4b2846 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 -- 2.39.5