mux/src/autoconf.h

Go to the documentation of this file.
00001 #ifndef AUTOCONF_H
00002 #define AUTOCONF_H
00003 
00004 #include "copyright.h"
00005 
00006 #define _WIN32_WINNT 0x0400
00007 #define FD_SETSIZE      512
00008 #define WIN32_LEAN_AND_MEAN
00009 #include <windows.h>
00010 #include <winsock2.h>
00011 
00012 #include <malloc.h>
00013 #include <crtdbg.h>
00014 
00015 /* ---------------------------------------------------------------------------
00016  * Configuration section:
00017  *
00018  * These defines are written by the configure script.
00019  * Change them if need be
00020  */
00021 
00022 /* Define if we have stdlib.h et al */
00023 #define STDC_HEADERS
00024 /* Define if we have unistd.h */
00025 #undef HAVE_UNISTD_H
00026 /* Define if we have memory.h and need it to get memcmp et al */
00027 #undef NEED_MEMORY_H
00028 /* signal() return type */
00029 #define RETSIGTYPE void
00030 /* Define if struct tm is not in time.h */
00031 #undef TM_IN_SYS_TIME
00032 /* Define if struct tm has a timezone member */
00033 #undef HAVE_TM_ZONE
00034 /* Define if tzname[] exists */
00035 #undef HAVE_TZNAME
00036 /* Define if setrlimit exists */
00037 #undef HAVE_SETRLIMIT
00038 /* Define if getrusage exists */
00039 #undef HAVE_GETRUSAGE
00040 /* Define if getdtablesize exists */
00041 #undef HAVE_GETDTABLESIZE
00042 /* Define if getpagesize exists */
00043 #undef HAVE_GETPAGESIZE
00044 /* Define if gettimeofday exists */
00045 #undef HAVE_GETTIMEOFDAY
00046 /* Define if usleep exists */
00047 #undef HAVE_USLEEP
00048 /* Define if nanosleep exists */
00049 #undef HAVE_NANOSLEEP
00050 /* Define if setitimer exists */
00051 #undef HAVE_SETITIMER
00052 /* Define if sys_siglist[] exists */
00053 #undef SYS_SIGLIST_DECLARED
00054 /* Define if sys_signame[] exists */
00055 #undef HAVE_SYS_SIGNAME
00056 /* Define if index/rindex/mem??? are defined in string.h */
00057 #undef INDEX_IN_STRING_H
00058 /* Define if malloc/realloc/free are defined in stdlib.h */
00059 #define MALLOC_IN_STDLIB_H
00060 /* Define if calling signal with SIGCHLD when handling SIGCHLD blows chow */
00061 #undef SIGNAL_SIGCHLD_BRAINDAMAGE
00062 /* Define if errno.h exists */
00063 #define HAVE_ERRNO_H
00064 /* Define if sys/select.h exists */
00065 #undef HAVE_SYS_SELECT_H
00066 /* Define if sys/rusage.h exists */
00067 #undef HAVE_SYS_RUSAGE_H
00068 /* Define if Big Endian */
00069 #undef WORDS_BIGENDIAN
00070 /* Define if Little Endian */
00071 #define WORDS_LITTLEENDIAN 1
00072 /* Define if Unknown Endian */
00073 #undef WORDS_UNKNOWN
00074 /* Define if const is broken */
00075 #undef const
00076 /* sizeof(short) */
00077 #define SIZEOF_SHORT 2
00078 /* sizeof(unsigned short) */
00079 #define SIZEOF_UNSIGNED_SHORT 2
00080 /* sizeof(int) */
00081 #define SIZEOF_INT 4
00082 /* sizeof(unsigned int) */
00083 #define SIZEOF_UNSIGNED_INT 4
00084 /* sizeof(long) */
00085 #define SIZEOF_LONG 4
00086 /* sizeof(unsigned long) */
00087 #define SIZEOF_UNSIGNED_LONG 4
00088 /* Define if unaligned short access is allowed. */
00089 #define CAN_UNALIGN_SHORT
00090 /* Define if unaligned int access is allowed. */
00091 #define CAN_UNALIGN_INT
00092 /* Define if unaligned long access is allowed. */
00093 #define CAN_UNALIGN_LONG
00094 /* Define if unaligned long long access is allowed. */
00095 #define CAN_UNALIGN_LONGLONG
00096 /* Define if inline keyword is broken or nonstandard */
00097 #undef inline
00098 /* Define if we need to redef index/bcopy et al to their SYSV counterparts */
00099 #undef NEED_INDEX_DCL
00100 /* Define if we need to declare malloc et al */
00101 #undef NEED_MALLOC_DCL
00102 /* Define if you need to declare vsprintf yourself */
00103 #undef NEED_VSPRINTF_DCL
00104 /* Define if you need to declare sys_errlist yourself */
00105 #undef NEED_SYS_ERRLIST_DCL
00106 /* Define if you need to declare _sys_errlist yourself */
00107 #undef NEED_SYS__ERRLIST_DCL
00108 /* Define if you need to declare sprintf yourself */
00109 #undef NEED_SPRINTF_DCL
00110 /* Define if you need to declare getrlimit yourself */
00111 #undef NEED_GETRLIMIT_DCL
00112 /* Define if you need to declare getrusage yourself */
00113 #undef NEED_GETRUSAGE_DCL
00114 /* Define if struct linger is defined */
00115 #define HAVE_LINGER
00116 /* Define if signal handlers have a struct sigcontext as their third arg */
00117 #undef HAVE_STRUCT_SIGCONTEXT
00118 /* Define if stdio.h defines lots of extra functions */
00119 #define EXTENDED_STDIO_DCLS
00120 /* Define if sys/socket.h defines lots of extra functions */
00121 #undef EXTENDED_SOCKET_DCLS
00122 /* Define if socklen_t is defined */
00123 #undef SOCKLEN_T_DCL
00124 /* Define if we may safely include both time.h and sys/time.h */
00125 #undef TIME_WITH_SYS_TIME
00126 /* Define if sys/time.h exists */
00127 #undef HAVE_SYS_TIME_H
00128 /* Define if you need to declare gettimeofday yourself */
00129 #undef NEED_GETTIMEOFDAY_DCL
00130 /* Define if you need to declare getpagesize yourself */
00131 #undef NEED_GETPAGESIZE_DCL
00132 /* Define if you have IEEE floating-point formatted numbers */
00133 #define HAVE_IEEE_FP_FORMAT 1
00134 /* Define if your IEEE floating-point library can generate NaN */
00135 #define HAVE_IEEE_FP_SNAN 1
00136 /* Define if your platform computes the integer quotient as the smallest */
00137 /* integer greater than or or equal to the algebraic quotient. For       */
00138 /* example, -9/5 gives -1                                                */
00139 #define SMALLEST_INT_GTE_NEG_QUOTIENT 1
00140 /* Define if the character special file /dev/urandom is present */
00141 #undef HAVE_DEV_URANDOM
00142 /* Define if fpu_config.h is available. */
00143 #undef HAVE_FPU_CONTROL_H
00144 /* Define if ieeefp.h is available. */
00145 #undef HAVE_IEEEFP_H
00146 /* Define if ieeefp.h is useable. */
00147 #undef IEEEFP_H_USEABLE
00148 /* Define if fenv.h is available. */
00149 #undef HAVE_FENV_H
00150 /* Define if fegetprec is available. */
00151 #undef HAVE_FEGETPREC
00152 /* Define if fesetprec is available. */
00153 #undef HAVE_FESETPREC
00154 /* Define if your system has the in_addr_t type */
00155 #undef HAVE_IN_ADDR_T
00156 /* Define if crypt library exists */
00157 #define HAVE_LIBCRYPT 1
00158 /* Define if crypt exists */
00159 #define HAVE_CRYPT 1
00160 
00161 /* ---------------------------------------------------------------------------
00162  * Setup section:
00163  *
00164  * Load system-dependent header files.
00165  */
00166 
00167 #if !defined(STDC_HEADERS)
00168 #error MUX requires standard headers.
00169 #endif
00170 
00171 #include <io.h>
00172 #include <fcntl.h>
00173 #include <stdarg.h>
00174 #include <stdlib.h>
00175 #include <limits.h>
00176 #include <process.h>
00177 #include <string.h>
00178 #include <errno.h>
00179 #include <sys/types.h>
00180 #include <stdio.h>
00181 #include <fcntl.h>
00182 
00183 typedef int     dbref;
00184 typedef int     FLAG;
00185 typedef int     POWER;
00186 #ifdef REALITY_LVLS
00187 typedef unsigned int RLEVEL;
00188 #endif /* REALITY_LVLS */
00189 typedef char    boolexp_type;
00190 typedef char    IBUF[16];
00191 
00192 #define UNUSED_PARAMETER(x) ((void)(x))
00193 
00194 #endif /* AUTOCONF_H */
00195 

Generated on Mon May 28 04:40:07 2007 for MUX by  doxygen 1.4.7