summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-16 17:43:06 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-16 17:43:06 +0800
commit3d0fa7c79b4d5d08868f32f44052392d03638074 (patch)
tree76269870dd6e88e61b21ad23fbe613dc9853adfa /mbbsd/stuff.c
parent62b898b733dd7b8acfaefc287c513668a007f232 (diff)
downloadpttbbs-3d0fa7c79b4d5d08868f32f44052392d03638074.tar
pttbbs-3d0fa7c79b4d5d08868f32f44052392d03638074.tar.gz
pttbbs-3d0fa7c79b4d5d08868f32f44052392d03638074.tar.bz2
pttbbs-3d0fa7c79b4d5d08868f32f44052392d03638074.tar.lz
pttbbs-3d0fa7c79b4d5d08868f32f44052392d03638074.tar.xz
pttbbs-3d0fa7c79b4d5d08868f32f44052392d03638074.tar.zst
pttbbs-3d0fa7c79b4d5d08868f32f44052392d03638074.zip
Fix error for compiling without defining PLAY_ANGEL.
git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 1debf67b..7ce5e720 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -422,6 +422,7 @@ pressanykey()
refresh();
}
+#ifdef PLAY_ANGEL
void
pressanykey_or_callangel(){
int ch;
@@ -444,6 +445,7 @@ pressanykey_or_callangel(){
clrtoeol();
refresh();
}
+#endif
int
vmsg(const char *fmt,...)
@@ -629,7 +631,11 @@ show_help(char *helptext[])
else
prints(" %s\n", str);
}
+#ifdef PLAY_ANGEL
pressanykey_or_callangel();
+#else
+ pressanykey();
+#endif
}
#endif // _BBS_UTIL_C_