From 963f40fabfbfc47378585a05f5b465cbd4e0c7b6 Mon Sep 17 00:00:00 2001 From: jsm Date: Thu, 30 Sep 1999 18:01:31 +0000 Subject: Fix uses of namespaces reserved by ISO C or POSIX.1. --- phantasia/phantdefs.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'phantasia') diff --git a/phantasia/phantdefs.h b/phantasia/phantdefs.h index 0e92cb51..88cd98b7 100644 --- a/phantasia/phantdefs.h +++ b/phantasia/phantdefs.h @@ -1,4 +1,4 @@ -/* $NetBSD: phantdefs.h,v 1.2 1995/03/24 03:59:28 cgd Exp $ */ +/* $NetBSD: phantdefs.h,v 1.3 1999/09/30 18:01:33 jsm Exp $ */ /* * phantdefs.h - important constants for Phantasia @@ -12,6 +12,15 @@ #define R_SPOILED 4 /* ring which has gone bad */ /* status constants */ +/* We must #undef these first since setup.c includes headers that reserve S_* */ +#undef S_NOTUSED +#undef S_OFF +#undef S_PLAYING +#undef S_CLOAKED +#undef S_INBATTLE +#undef S_MONSTER +#undef S_TRADING +#undef S_HUNGUP #define S_NOTUSED 0 /* record not in use */ #define S_OFF 1 /* not playing */ #define S_PLAYING 2 /* playing - nothing else */ -- cgit v1.2.3-56-ge451