diff options
author | 1997-03-29 20:42:16 +0000 | |
---|---|---|
committer | 1997-03-29 20:42:16 +0000 | |
commit | 77949edf212dfa805753ec2d69e3e91181793816 (patch) | |
tree | 38dc3a79b1e3202a6905ed8ef8bf8c43e510bd44 /hack | |
parent | 784e053db46cac58a3b6f04fab70c712fc6f968b (diff) | |
download | bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.tar.gz bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.tar.zst bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.zip |
Make these compile on the PowerPC (an unsigned char system).
Diffstat (limited to 'hack')
-rw-r--r-- | hack/config.h | 8 |
1 files changed, 6 insertions, 2 deletions
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) |