Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/bin/sh Pull up revision 1.59 (requested by thorpej in t...



details:   https://anonhg.NetBSD.org/src/rev/c5b6eb8c3f25
branches:  netbsd-1-6
changeset: 529602:c5b6eb8c3f25
user:      he <he%NetBSD.org@localhost>
date:      Sun Dec 01 12:03:45 2002 +0000

description:
Pull up revision 1.59 (requested by thorpej in ticket #819):
  Use ``unsigned char'' and ``char'' instead of ``u_int8_t''
  and ``int8_t'' for TARGET_CHAR when building mksyntax.
  This lets the host tool work on non-BSD systems without
  causing too many changes to how sh is built.

diffstat:

 bin/sh/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 29f6f1cc841b -r c5b6eb8c3f25 bin/sh/Makefile
--- a/bin/sh/Makefile   Sun Dec 01 11:59:03 2002 +0000
+++ b/bin/sh/Makefile   Sun Dec 01 12:03:45 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.57 2002/05/15 20:45:17 bjh21 Exp $
+#      $NetBSD: Makefile,v 1.57.2.1 2002/12/01 12:03:45 he 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