diff options
Diffstat (limited to 'news/nn')
-rw-r--r-- | news/nn/Makefile | 3 | ||||
-rw-r--r-- | news/nn/files/m-powerpc.h | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile index b4de109b046..c95f179eb70 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/02/17 17:54:49 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2002/03/13 23:07:29 jmc Exp $ # FreeBSD Id: Makefile,v 1.14 1997/07/30 18:17:48 adam Exp # @@ -45,6 +45,7 @@ post-patch: s#@SFILE@#${SFILE}#' \ <${WRKSRC}/config.h-dist >${WRKSRC}/config.h @${CP} ${FILESDIR}/s-netbsd.h ${WRKSRC}/conf/s-netbsd.h + @${CP} ${FILESDIR}/m-powerpc.h ${WRKSRC}/conf/m-powerpc.h @${CP} ${WRKSRC}/conf/m-m680x0.h ${WRKSRC}/conf/m-m68k.h .include "../../mk/bsd.pkg.mk" diff --git a/news/nn/files/m-powerpc.h b/news/nn/files/m-powerpc.h new file mode 100644 index 00000000000..34edc5b7695 --- /dev/null +++ b/news/nn/files/m-powerpc.h @@ -0,0 +1,24 @@ +/************** Machine (and compiler) dependent definitions. ************** + * + * Define appropriate types for the following ranges of integer + * variables. These are processor & compiler dependent, but the + * distributed definitions will probably work on most systems. + */ + + + +/* MACHINE TYPE DEFINED TYPE VALUE RANGE */ + +typedef unsigned char int8; /* 0 .. 255 */ +typedef short int16; /* -10,000 .. 10,000 */ +typedef long int32; /* -100,000 .. 100,000 */ +typedef unsigned long uint32; /* 0 .. 2^31-1 */ + + + +/* + * Define NETWORK_BYTE_ORDER if the machine's longs are + * already in network byte order. + */ + +#define NETWORK_BYTE_ORDER |