* RFA: recognize AMD64 as a big-endian machine
@ 2004-12-09 16:02 Jim Blandy
0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2004-12-09 16:02 UTC (permalink / raw)
To: sid
2004-12-09 Jim Blandy <jimb@redhat.com>
* sidtypes.h: Recognize AMD64 (x86-64) as a big-endian machine.
Index: sid/include/sidtypes.h
===================================================================
RCS file: /cvs/cvsfiles/devo/sid/include/sidtypes.h,v
retrieving revision 1.29
diff -c -p -r1.29 sidtypes.h
*** sid/include/sidtypes.h 1 Dec 2000 16:32:41 -0000 1.29
--- sid/include/sidtypes.h 9 Dec 2004 15:57:49 -0000
***************
*** 25,31 ****
# define HOST_BIG_ENDIAN true
# endif
#else
! # if defined(__i386__) || defined(__alpha__)
# define HOST_BIG_ENDIAN false
# elif defined(__sparc__) || defined(__powerpc__)
# define HOST_BIG_ENDIAN true
--- 25,31 ----
# define HOST_BIG_ENDIAN true
# endif
#else
! # if defined(__i386__) || defined(__alpha__) || defined (__x86_64__)
# define HOST_BIG_ENDIAN false
# elif defined(__sparc__) || defined(__powerpc__)
# define HOST_BIG_ENDIAN true
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-09 16:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-09 16:02 RFA: recognize AMD64 as a big-endian machine Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).