diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-06 23:02:29 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-06 23:02:29 +0800 |
commit | a61de8eb422bdcf6b71d46d3da75f2a7088b4441 (patch) | |
tree | a0423dcbefdc7069e3973aa11ae4d4fee0295934 /include | |
parent | 471a65e552f18963ef2fa976663bdb61f9c8236c (diff) | |
download | pttbbs-a61de8eb422bdcf6b71d46d3da75f2a7088b4441.tar pttbbs-a61de8eb422bdcf6b71d46d3da75f2a7088b4441.tar.gz pttbbs-a61de8eb422bdcf6b71d46d3da75f2a7088b4441.tar.bz2 pttbbs-a61de8eb422bdcf6b71d46d3da75f2a7088b4441.tar.lz pttbbs-a61de8eb422bdcf6b71d46d3da75f2a7088b4441.tar.xz pttbbs-a61de8eb422bdcf6b71d46d3da75f2a7088b4441.tar.zst pttbbs-a61de8eb422bdcf6b71d46d3da75f2a7088b4441.zip |
clean up
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 6 | ||||
-rw-r--r-- | include/config.h | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/include/common.h b/include/common.h index 309f49c5..18d377c2 100644 --- a/include/common.h +++ b/include/common.h @@ -1,4 +1,4 @@ -/* $Id: common.h,v 1.6 2003/05/26 05:30:22 in2 Exp $ */ +/* $Id$ */ #ifndef INCLUDE_COMMON_H #define INCLUDE_COMMON_H @@ -175,10 +175,10 @@ #define MAX_MODES 127 #ifndef MIN -#define MIN(a,b) ((a<b)?a:b) +#define MIN(a,b) (((a)<(b))?(a):(b)) #endif #ifndef MAX -#define MAX(a,b) ((a>b)?a:b) +#define MAX(a,b) (((a)>(b))?(a):(b)) #endif #define char_lower(c) ((c >= 'A' && c <= 'Z') ? c|32 : c) diff --git a/include/config.h b/include/config.h index 23bca878..d7dd1606 100644 --- a/include/config.h +++ b/include/config.h @@ -1,4 +1,4 @@ -/* $Id: config.h,v 1.10 2003/05/10 16:52:01 bbs Exp $ */ +/* $Id$ */ #ifndef INCLUDE_CONFIG_H #define INCLUDE_CONFIG_H @@ -134,12 +134,8 @@ #undef HAVE_REPORT /* 系統追蹤報告 */ #undef HAVE_INFO /* 顯示程式板本說明 */ #undef HAVE_LICENSE /* 顯示 GNU 板權畫面 */ -#undef HAVE_TIN /* 提供 news reader */ -#undef HAVE_GOPHER /* 提供 gopher */ -#undef HAVE_WWW /* 提供 www browser */ #define FAST_LOGIN /* Login 不檢查遠端使用者 */ #define HAVE_CAL /* 提功計算機 */ -#undef HAVE_ARCHIE /* have arche */ #undef POSTBUG /* board/mail post 沒有 bug 了 */ #undef HAVE_REPORT /* 系統追蹤報告 */ #undef EMAIL_JUSTIFY /* 發出 InterNet Email 身份認證信函 */ |