summaryrefslogtreecommitdiffstats
path: root/monop/monop.h
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1997-03-29 20:42:16 +0000
committerthorpej <thorpej@NetBSD.org>1997-03-29 20:42:16 +0000
commit77949edf212dfa805753ec2d69e3e91181793816 (patch)
tree38dc3a79b1e3202a6905ed8ef8bf8c43e510bd44 /monop/monop.h
parent784e053db46cac58a3b6f04fab70c712fc6f968b (diff)
downloadbsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.tar.gz
bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.zip
Make these compile on the PowerPC (an unsigned char system).
Diffstat (limited to 'monop/monop.h')
-rw-r--r--monop/monop.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/monop/monop.h b/monop/monop.h
index 2bc82dab..1c7b161d 100644
--- a/monop/monop.h
+++ b/monop/monop.h
@@ -1,4 +1,4 @@
-/* $NetBSD: monop.h,v 1.4 1995/04/24 12:24:23 cgd Exp $ */
+/* $NetBSD: monop.h,v 1.5 1997/03/29 20:42:25 thorpej Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -40,7 +40,11 @@
# include <string.h>
# define reg register
+#ifdef __CHAR_UNSIGNED__
+# define shrt short
+#else
# define shrt char
+#endif
# define bool char
# define unsgn unsigned