背景:
阅读文章

fluffos 3.0(alpha9.0) local_options配置详细选项

[日期:2021-04-07] 来源:  作者: [字体: ]

/*
 * local_options.h: compile-time configuration of the driver
 */

/****************************************************************************
 * EVERY time you change ANYTHING in this file, RECOMPILE from scratch.    *
 * (type "make clean" then "make" on a UNIX system) Failure to do so may    *
 * cause the driver to behave oddly.                                        *
 ****************************************************************************/

/* NOTES: Many of the configurable options are now set in the runtime config.
 * 
 * This file only contain a list of default settings, for quick diffing .
 * See detailed explaination from 'local_options.README'
 */

#ifndef _LOCAL_OPTIONS_H_
#define _LOCAL_OPTIONS_H_

/****************************************************************************
 *                              COMPAT                                      *
 ****************************************************************************/
#undef COMPAT_32
#undef NO_ADD_ACTION
#undef NO_SNOOP
#undef NO_ENVIRONMENT
#undef NO_WIZARDS
#undef NO_SHADOWS
#define NO_LIGHT
#undef PRIVS
#undef SENSIBLE_MODIFIERS

/****************************************************************************
 *                              BEHAVIOR                                    *
 ****************************************************************************/
#define OLD_ED
#undef ED_INDENT_CASE
#define ED_INDENT_SPACES 4
#undef RECEIVE_ED
#define RESTRICTED_ED

#define DEFAULT_PRAGMAS PRAGMA_WARNINGS + PRAGMA_SAVE_TYPES + PRAGMA_ERROR_CONTEXT + PRAGMA_OPTIMIZE
#define SAVE_EXTENSION ".o"
#define SAVE_GZ_EXTENSION ".o.gz"

#undef USE_ICONV
#undef IPV6
#undef DTRACE

/****************************************************************************
 *                              PACKAGES                                    *
 ****************************************************************************/
#undef CUSTOM_CRYPT
#define PACKAGE_ASYNC
#define PACKAGE_COMPRESS
#define PACKAGE_CONTRIB
#define PACKAGE_CORE
#undef PACKAGE_CRYPTO

#undef PACKAGE_DB
#ifdef PACKAGE_DB
#define USE_MYSQL 1
#undef USE_POSTGRES
#undef USE_SQLITE3
#endif

#define PACKAGE_DEVELOP
#undef PACKAGE_DWLIB
#define PACKAGE_EXTERNAL
#define PACKAGE_MATH
#undef PACKAGE_MATRIX
#define PACKAGE_MUDLIB_STATS
#define PACKAGE_OPS
#undef PACKAGE_PARSER
#define PACKAGE_PCRE
#define PACKAGE_SHA1
#define PACKAGE_SOCKETS
#define PACKAGE_TRIM
#undef PACKAGE_THREAD

#define PACKAGE_UIDS
#ifdef PACKAGE_UIDS
#define AUTO_SETEUID
#undef AUTO_TRUST_BACKBONE
#endif

#endif /* _LOCAL_OPTIONS_H_ */

 

收藏 推荐 打印 | 录入:sbso | 阅读:
相关内容      
本文评论   [发表评论]   全部评论 (0)
内容推送
52mud提供
一起回忆泥巴游戏QQ群68186072
52mud官方微信公众平台
热门评论