summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-12 10:59:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-12 10:59:14 +0800
commite3996173b492a380965b21be3a515b0f39ffa721 (patch)
treecb84999ae74ff72c5c4264bdc003f0ff249cfd50
parentf5347aad881a4b3bf73f4df3a405552610bf1d35 (diff)
downloadpttbbs-e3996173b492a380965b21be3a515b0f39ffa721.tar
pttbbs-e3996173b492a380965b21be3a515b0f39ffa721.tar.gz
pttbbs-e3996173b492a380965b21be3a515b0f39ffa721.tar.bz2
pttbbs-e3996173b492a380965b21be3a515b0f39ffa721.tar.lz
pttbbs-e3996173b492a380965b21be3a515b0f39ffa721.tar.xz
pttbbs-e3996173b492a380965b21be3a515b0f39ffa721.tar.zst
pttbbs-e3996173b492a380965b21be3a515b0f39ffa721.zip
* note brc v3 capability change
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/brc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/brc.c b/mbbsd/brc.c
index c7413612..56a6707b 100644
--- a/mbbsd/brc.c
+++ b/mbbsd/brc.c
@@ -16,11 +16,12 @@
#define BRC_BLOCKSIZE 1024
-// Note: BRC v3 should already support MAX_BOARD > 65535 and BRC_MAXSIZE > 65535,
+// Note: BRC v3 should already support BRC_MAXSIZE > 65535,
// but not widely tested yet.
-#if MAX_BOARD > 65535 || BRC_MAXSIZE > 65535
+// MAX_BOARD >65535 is already tested on PTT2 since 2009/09/10.
+#if BRC_MAXSIZE > 65535
#error Max number of boards or BRC_MAXSIZE cannot fit in unsigned short, \
-please rewrite brc.c (v2)
+ please rewrite brc.c (v2)
#endif
typedef uint32_t brcbid_t;