我做的修改,你参考一下
修改的地方:
1、comm_lists.c
添加函数:int t_ccal();
MENU sysconf_cmdlist[]里面添加:{"Calendar", t_ccal, 0},
2、bbssrc/include/mode.h
添加:#define CALENDAR 80
3、modetyps.c
在ModeType(mode)添加:
case CALENDAR:
return "查询日历";
4、src下的Makefile
CFILE最后加上ccal.c
COBJS最后加上ccal.o
5、修改menu.ini。在合适的地方添加
@Calendar 0, 0, 0, "Q@Calendar", "(Q) 查询日历"
6、make clean update
restart BBSD
【 在 BAX@feeling-NOsmthSPAM-org (B艾爱科斯) 的大作中提到: 】
: 找了一段万年历的代码,在上面找的,
: 编译中:
: "LUNAR" undecleared (first use in this function)
: (Each undecleared identifier is reported only once
: for each function it appears in.)
: 这个要到那里去定义成什么样子?
: 谢谢
--