summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-24 02:39:01 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-24 02:39:01 +0800
commitb82ade431ee0e899015e0024b5147974ed496a51 (patch)
treefb1f62b6214862787e513f1ebcdd93f0e6f863e1
parentf5c3d61573abe8beae7934708de7d718aff476e9 (diff)
downloadpttbbs-b82ade431ee0e899015e0024b5147974ed496a51.tar
pttbbs-b82ade431ee0e899015e0024b5147974ed496a51.tar.gz
pttbbs-b82ade431ee0e899015e0024b5147974ed496a51.tar.bz2
pttbbs-b82ade431ee0e899015e0024b5147974ed496a51.tar.lz
pttbbs-b82ade431ee0e899015e0024b5147974ed496a51.tar.xz
pttbbs-b82ade431ee0e899015e0024b5147974ed496a51.tar.zst
pttbbs-b82ade431ee0e899015e0024b5147974ed496a51.zip
define MAXPATHLEN ifndef MAXPATHLEN
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@643 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index b509dfd4..5360a85d 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1,4 +1,4 @@
-/* $Id: config.h,v 1.7 2002/08/23 22:03:46 in2 Exp $ */
+/* $Id: config.h,v 1.8 2003/01/23 18:39:01 in2 Exp $ */
#ifndef INCLUDE_CONFIG_H
#define INCLUDE_CONFIG_H
@@ -77,6 +77,9 @@
#define HBFLexpire (432000) /* 5 days */
#endif
+#ifndef MAXPATHLEN
+#define MAXPATHLEN (256)
+#endif
/* 以下還未整理 */
#define DIRCACHESIZE (40) /* cache 文章列表中最後40篇 */
#define MAX_FRIEND (256) /* 載入 cache 之最多朋友數目 */