summaryrefslogtreecommitdiffstats
path: root/mbbsd/brc.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 02:22:55 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 02:22:55 +0800
commit6e592b3fbc459867f9966c3cdefbc363a26ec895 (patch)
treef7402f1b6a4d1f742eed7d1981c5c3525bc50b70 /mbbsd/brc.c
parent890dd47e135c29397a6006556e186061f2afcc67 (diff)
downloadpttbbs-6e592b3fbc459867f9966c3cdefbc363a26ec895.tar
pttbbs-6e592b3fbc459867f9966c3cdefbc363a26ec895.tar.gz
pttbbs-6e592b3fbc459867f9966c3cdefbc363a26ec895.tar.bz2
pttbbs-6e592b3fbc459867f9966c3cdefbc363a26ec895.tar.lz
pttbbs-6e592b3fbc459867f9966c3cdefbc363a26ec895.tar.xz
pttbbs-6e592b3fbc459867f9966c3cdefbc363a26ec895.tar.zst
pttbbs-6e592b3fbc459867f9966c3cdefbc363a26ec895.zip
- general refine and improvement, fixing messages
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/brc.c')
-rw-r--r--mbbsd/brc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/brc.c b/mbbsd/brc.c
index dcfd89eb..be242367 100644
--- a/mbbsd/brc.c
+++ b/mbbsd/brc.c
@@ -16,6 +16,8 @@
#define BRC_BLOCKSIZE 1024
+// Note: BRC v3 should already support MAX_BOARD > 65535,
+// but not widely tested yet.
#if MAX_BOARD > 65535 || BRC_MAXSIZE > 65535
#error Max number of boards or BRC_MAXSIZE cannot fit in unsigned short, \
please rewrite brc.c