From 77949edf212dfa805753ec2d69e3e91181793816 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 29 Mar 1997 20:42:16 +0000 Subject: Make these compile on the PowerPC (an unsigned char system). --- hack/config.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'hack/config.h') diff --git a/hack/config.h b/hack/config.h index f7bb5c5c..e18bcbaf 100644 --- a/hack/config.h +++ b/hack/config.h @@ -1,7 +1,7 @@ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. * - * $NetBSD: config.h,v 1.3 1995/03/23 08:29:15 cgd Exp $ + * $NetBSD: config.h,v 1.4 1997/03/29 20:42:16 thorpej Exp $ */ #include "pathnames.h" @@ -107,7 +107,11 @@ * will do when you have signed characters; otherwise use * typedef short int schar; */ -typedef char schar; +#ifdef __CHAR_UNSIGNED__ +typedef short int schar; +#else +typedef char schar; +#endif /* * small unsigned integers (8 bits suffice - but 7 bits do not) -- cgit v1.2.3-56-ge451