From: Kay Sievers Date: Mon, 1 Sep 2008 14:39:34 +0000 (+0200) Subject: volume_id: fail on undefined __BYTE_ORDER X-Git-Tag: 174~1604 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2175d25248fc25356c881798d688d8745cb5359;p=systemd volume_id: fail on undefined __BYTE_ORDER --- 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