summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-05 11:33:26 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-05 11:33:26 +0800
commit42623d301183c080a095791fd5ada478f812d272 (patch)
treed81e5c52ab700fafc6c2b4cf27ba40694be64652 /include/pttstruct.h
parent10d9931212b7fa65cb062bbd9ec8714877b651ce (diff)
downloadpttbbs-42623d301183c080a095791fd5ada478f812d272.tar
pttbbs-42623d301183c080a095791fd5ada478f812d272.tar.gz
pttbbs-42623d301183c080a095791fd5ada478f812d272.tar.bz2
pttbbs-42623d301183c080a095791fd5ada478f812d272.tar.lz
pttbbs-42623d301183c080a095791fd5ada478f812d272.tar.xz
pttbbs-42623d301183c080a095791fd5ada478f812d272.tar.zst
pttbbs-42623d301183c080a095791fd5ada478f812d272.zip
user could remove dircache if need (not tested)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r--include/pttstruct.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 9b9efe72..7ec5fd3d 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -362,7 +362,9 @@ typedef struct {
int BMcache[MAX_BOARD][MAX_BMs];
boardheader_t bcache[MAX_BOARD];
boardheader_t *bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */
+#if DIRCACHESIZE
fileheader_t dircache[MAX_BOARD][DIRCACHESIZE];
+#endif
time_t busystate_b[MAX_BOARD];
int total[MAX_BOARD];
int hbfl[MAX_BOARD][MAX_FRIEND + 1];