comparison src/m/sparc.h @ 109732:470bed744331

Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition. * m/alpha.h: Don't define/undef WORDS_BIG_ENDIAN. * m/amdx86-64.h: Likewise. * m/arm.h: Likewise. * m/hp800.h: Likewise. * m/ia64.h: Likewise. * m/ibmrs6000.h: Likewise. * m/ibms390.h: Likewise. * m/intel386.h: Likewise. * m/iris4d.h: Likewise. * m/m68k.h: Likewise. * m/macppc.h: Likewise. * m/mips.h: Likewise. * m/sh3.h: Likewise. * m/sparc.h: Likewise. * m/template.h: Likewise. * m/vax.h: Likewise. * m/xtensa.h: Likewise. * fringe.c (init_fringe_bitmap): Test WORDS_BIGENDIAN instead of WORDS_BIG_ENDIAN. * lisp.h: Likewise. * md5.c: Likewise. * sound.c (le2hl, le2hs, be2hl, be2hs): Likewise. * CPP-DEFINES (WORDS_BIG_ENDIAN): Remove. * configure.in: Add AC_C_BIGENDIAN.
author Andreas Schwab <schwab@linux-m68k.org>
date Mon, 09 Aug 2010 21:25:41 +0200
parents 88810df348ab
children 2278399d2eb9
comparison
equal deleted inserted replaced
109731:01af31a38d9e 109732:470bed744331
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 16 GNU General Public License for more details.
17 17
18 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
21 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23 #define WORDS_BIG_ENDIAN
24 20
25 /* __sparc__ is defined by the compiler by default. */ 21 /* __sparc__ is defined by the compiler by default. */
26 22
27 /* XINT must explicitly sign-extend 23 /* XINT must explicitly sign-extend
28 This flag only matters if you use USE_LISP_UNION_TYPE. */ 24 This flag only matters if you use USE_LISP_UNION_TYPE. */