diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 21:06:28 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 21:06:28 +0800 |
commit | ef6481cca41aca3c247f845ef55a9b2cd491be65 (patch) | |
tree | 140b45a376365aa29c30cd0126afbf8edeea6ba2 /mbbsd | |
parent | 97e5db2272665daf9883e29b183a734daf9c79e6 (diff) | |
download | pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.gz pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.bz2 pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.lz pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.xz pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.zst pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.zip |
- definition and macro fix after sync with PTT1
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/brc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/brc.c b/mbbsd/brc.c index be242367..4317dfd1 100644 --- a/mbbsd/brc.c +++ b/mbbsd/brc.c @@ -7,20 +7,20 @@ * original time_t as 'create'. */ -// WARNING: Check ../include/config.h, you may have overide these value there +// WARNING: Check ../pttbbs.conf, you may have overide these value there +// TODO MAXSIZE may be better smaller to fit into memory page. #ifndef BRC_MAXNUM -#define BRC_STRLEN 15 /* Length of board name, for old brc */ #define BRC_MAXSIZE 49152 /* Effective size of brc rc file, 8192 * 3 * 2 */ #define BRC_MAXNUM 80 /* Upper bound of brc_num, size of brc_list */ #endif #define BRC_BLOCKSIZE 1024 -// Note: BRC v3 should already support MAX_BOARD > 65535, +// Note: BRC v3 should already support MAX_BOARD > 65535 and BRC_MAXSIZE > 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 +please rewrite brc.c (v2) #endif typedef uint32_t brcbid_t; |