[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: endianness test in md5.c

From: Andreas Schwab
Subject: Re: endianness test in md5.c
Date: Sat, 18 Oct 2008 11:06:57 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Ulrich Mueller <address@hidden> writes:

> src/md5.c contains the following code:
>    # include <endian.h>
>    # if __BYTE_ORDER == __BIG_ENDIAN
>    #  define WORDS_BIG_ENDIAN 1
>    # endif
> I wonder, shouldn't it just use the macro defined in m/*.h instead
> (at least for the case that HAVE_CONFIG_H is defined)?

This is only used when compiled as part of glibc.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]