Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Use "unsigned char" and "char" instead of "u_int8_t" ...
details: https://anonhg.NetBSD.org/src/rev/85df88f85a1d
branches: trunk
changeset: 536404:85df88f85a1d
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Sep 15 00:19:22 2002 +0000
description:
Use "unsigned char" and "char" instead of "u_int8_t" and "int8_t"
for TARGET_CHAR when building mksyntax. This isn't perfect, but
it lets the host tool work on non-BSD systems without completely
redoing how sh is built.
diffstat:
bin/sh/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r a5bc431bbac4 -r 85df88f85a1d bin/sh/Makefile
--- a/bin/sh/Makefile Sat Sep 14 23:53:21 2002 +0000
+++ b/bin/sh/Makefile Sun Sep 15 00:19:22 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2002/08/19 09:56:02 lukem Exp $
+# $NetBSD: Makefile,v 1.59 2002/09/15 00:19:22 thorpej Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@@ -53,9 +53,9 @@
.if (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_CPU} == "arm")
-TARGET_CHARFLAG= -DTARGET_CHAR="u_int8_t"
+TARGET_CHARFLAG= -DTARGET_CHAR="unsigned char"
.else
-TARGET_CHARFLAG= -DTARGET_CHAR="int8_t"
+TARGET_CHARFLAG= -DTARGET_CHAR="char"
.endif
mksyntax: mksyntax.c
Home |
Main Index |
Thread Index |
Old Index