diff options
author | jsm <jsm@NetBSD.org> | 1999-09-30 18:01:31 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 1999-09-30 18:01:31 +0000 |
commit | 963f40fabfbfc47378585a05f5b465cbd4e0c7b6 (patch) | |
tree | 7d2ead721965b1afb7d25682629c2f61932820fc /phantasia | |
parent | e2f2d09292b8ac5c5390ab1b7e6fa09ab554080f (diff) | |
download | bsdgames-darwin-963f40fabfbfc47378585a05f5b465cbd4e0c7b6.tar.gz bsdgames-darwin-963f40fabfbfc47378585a05f5b465cbd4e0c7b6.tar.zst bsdgames-darwin-963f40fabfbfc47378585a05f5b465cbd4e0c7b6.zip |
Fix uses of namespaces reserved by ISO C or POSIX.1.
Diffstat (limited to 'phantasia')
-rw-r--r-- | phantasia/phantdefs.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 */ |