summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h6
-rw-r--r--include/config.h6
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 身份認證信函 */