X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fsys.h;h=f3845e056eac57cf088d4301c7c2ba444c4b0b93;hb=refs%2Fheads%2Fupstream-ssl;hp=a8c86ee073b9bd907ebae6e1308e27aa83574b1b;hpb=ae91ef6320f611af74e70a0db2620c338fbaa7d5;p=ircu2.10.12-pk.git diff --git a/include/sys.h b/include/sys.h index a8c86ee..f3845e0 100644 --- a/include/sys.h +++ b/include/sys.h @@ -20,17 +20,6 @@ */ #ifndef INCLUDED_sys_h #define INCLUDED_sys_h -#ifndef INCLUDED_config_h -#include "config.h" -#endif - -#if WORDS_BIGENDIAN -# define BIT_ZERO_ON_LEFT -#else -# define BIT_ZERO_ON_RIGHT -#endif - -#define HAVE_RELIABLE_SIGNALS /* * safety margin so we can always have one spare fd, for motd/authd or @@ -39,48 +28,7 @@ */ #define MAXCLIENTS (MAXCONNECTIONS-24) -#ifdef HAVECURSES -#define DOCURSES -#else -#undef DOCURSES -#endif - -#ifdef HAVETERMCAP -#define DOTERMCAP -#else -#undef DOTERMCAP -#endif - -#if defined(CLIENT_FLOOD) -#if (CLIENT_FLOOD > 8000) || (CLIENT_FLOOD < 512) -#error CLIENT_FLOOD needs redefining. -#endif -#else -#error CLIENT_FLOOD undefined -#endif - -#ifndef CONFIG_SETUGID -#undef IRC_UID -#undef IRC_GID -#endif - -/* Define FD_SETSIZE to what we want before including sys/types.h on BSD */ -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) -#if ((!defined(USE_POLL)) && (!defined(FD_SETSIZE))) -#define FD_SETSIZE ((MAXCONNECTIONS)+4) -#endif -#endif - -#define LIMIT_FMT "%d" - #define IRCD_MAX(a, b) ((a) > (b) ? (a) : (b)) #define IRCD_MIN(a, b) ((a) < (b) ? (a) : (b)) -#ifndef FALSE -#define FALSE 0 -#endif -#ifndef TRUE -#define TRUE 1 -#endif - #endif /* INCLUDED_sys_h */