emacs-devel
[Top][All Lists]
Advanced

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

Re: endianness test in md5.c


From: Eli Zaretskii
Subject: Re: endianness test in md5.c
Date: Sat, 18 Oct 2008 11:15:50 +0200

> From: Andreas Schwab <address@hidden>
> Date: Sat, 18 Oct 2008 11:06:57 +0200
> Cc: address@hidden
> 
> 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.

Exactly.  And md5.c is imported from glibc, so we don't want to make
local changes to it that are not necessary for Emacs, to make
importing future versions easier.




reply via email to

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