From 1b851fffc66f91fd3d393e70e0f9ee528005a5d6 Mon Sep 17 00:00:00 2001 From: jsm Date: Tue, 15 Feb 2005 12:58:21 +0000 Subject: Don't presume phantasia's internal bool (char) is the same as that in curses.h: define phbool and use it where necessary to avoid declaring functions with one bool and defining them with the other. Reviewed by . --- phantasia/phantstruct.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'phantasia/phantstruct.h') diff --git a/phantasia/phantstruct.h b/phantasia/phantstruct.h index 7e023416..fef673f5 100644 --- a/phantasia/phantstruct.h +++ b/phantasia/phantstruct.h @@ -1,6 +1,8 @@ -/* $NetBSD: phantstruct.h,v 1.4 2004/04/07 17:46:47 ross Exp $ */ +/* $NetBSD: phantstruct.h,v 1.5 2005/02/15 12:58:21 jsm Exp $ */ #define bool char +/* phbool is used when we need this version of bool after . */ +#define phbool char /* * phantstruct.h - structure definitions for Phantasia -- cgit v1.2.3-56-ge451