PR/3939: enami tsugutomo: amd fails to detect endianness.

This commit is contained in:
christos 1997-08-05 12:02:49 +00:00
parent 46ca64dc14
commit 031eafc65a
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/local/bin/perl
#
# $NetBSD: amd2netbsd,v 1.2 1997/07/28 00:46:55 christos Exp $
# $NetBSD: amd2netbsd,v 1.3 1997/08/05 12:02:49 christos Exp $
#
# Perl script to convert a standard distribution directory for am-utils into
# a NetBSD source tree.
@ -1210,6 +1210,7 @@ __EOF
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#include <sys/types.h>
#if BYTE_ORDER == BIG_ENDIAN
#define WORDS_BIGENDIAN
#endif

View File

@ -796,6 +796,7 @@
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#include <sys/types.h>
#if BYTE_ORDER == BIG_ENDIAN
#define WORDS_BIGENDIAN
#endif