/* PennMUSH config.h. Autogenerated by ./configure */ #ifndef __CONFIG_H #define __CONFIG_H /* Headers */ /* <arpa/inet.h> What needs this? */ #undef I_ARPA_INET /* <arpa/nameser.h> What needs this? */ #undef I_ARPA_NAMESER #undef I_FCNTL #undef I_FLOATINGPOINT #undef I_LIBINTL /* Get rid of this */ #undef I_MALLOC #undef I_NETDB #undef I_NETINET_IN #undef I_NETINET_TCP #undef I_SYS_ERRNO #undef I_SYS_FILE #undef I_SYS_IN #undef I_SYS_MMAN #undef I_SYS_PAGE #undef I_SYS_PARAM #undef I_SYS_SOCKET #undef I_SYS_STAT #undef I_SYS_TIME #undef TIME_WITH_SYS_TIME #undef I_SYS_TYPES #undef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H #define I_UNISTD #endif #undef HAVE_SYS_WAIT_H #undef HAVE_IEEEFP_H #undef HAVE_SYS_UN_H #undef HAVE_SYS_RESOURCE_H #undef HAVE_SYS_EVENT_H /* C99ish headers. The first two are really really nice to have. */ #undef HAVE_STDINT_H #undef HAVE_INTTYPES_H #undef HAVE_STDBOOL_H /* Libraries */ #undef HAVE_MYSQL #undef HAVE_POSTGRESQL #undef HAVE_SQLITE3 #undef HAVE_SSL #ifdef HAVE_SSL #define HAS_OPENSSL #endif /* Types */ #undef HAVE__BOOL #undef ssize_t /* Should be in <sys/socket.h> */ #undef socklen_t #undef pid_t /* All of these are in <stdint.h> if present. Otherwise autoconf guesses. */ #undef uint8_t #undef uint16_t #undef int32_t #undef uint32_t #undef int64_t #undef uint64_t /* Type of the largest int type */ #undef intmax_t #undef uintmax_t /* 4 */ #undef SIZEOF_INT /* 4 or 8 */ #undef SIZEOF_LONG /* 0 if no 64-bit type (We shouldn't be seeing that case) or 8. See below. */ #undef SIZEOF_INT64_T /* 8 on most modern CPUs Penn will be used on. They either have 64-bit * words (amd64, sparc64, powerpc64) or support an extended 64-bit type (i386, * powerpc32) */ #undef SIZEOF_INTMAX_T #undef SIZEOF_TIME_T /* 4 or 8 */ #undef SIZEOF_VOID_P /* Taken from autoconf manual */ #if HAVE_STDBOOL_H # include <stdbool.h> #else # if ! HAVE__BOOL # ifdef __cplusplus typedef bool _Bool; # else # define _Bool signed char # endif # endif # define bool _Bool # define false 0 # define true 1 # define __bool_true_false_are_defined 1 #endif /* Someday work to get rid of these. They're left over from the pre-void days */ typedef void* Malloc_t; typedef void Free_t; /* Functions */ #undef HAS_BINDTEXTDOMAIN #undef HAVE_CBRT #undef HAS_CRYPT #undef HAS_FPSETMASK #undef HAS_FPSETROUND #undef HAS_GAI_STRERROR #undef HAS_GETADDRINFO #undef HAS_GETDATE #undef HAS_GETHOSTBYNAME2 #undef HAS_GETNAMEINFO #undef HAS_GETPAGESIZE #undef HAS_GETRLIMIT #undef HAS_GETRUSAGE #undef HAVE_GETTEXT #undef HAS_INET_PTON #undef HAS_ITIMER #undef HAS_SETLOCALE #undef HAVE_FORK #undef HAVE_SETPGRP #undef HAVE_SETSID #undef HAVE_SETPGID #undef SETPGRP_VOID #undef HAVE_GETUID #undef HAVE_GETEUID #undef HAVE_SETEUID #undef HAVE_GETPRIORITY #undef HAVE_SETPRIORITY #undef HAVE_SIGACTION #undef HAVE_SIGPROCMASK #undef HAVE_SNPRINTF #undef HAVE_SOCKETPAIR #undef HAVE_STRCASECMP #undef HAVE_STRNCASECMP /* Various Windows (And maybe others?) string functions start with _str */ #undef HAVE__STRICMP #undef HAVE__STRNICMP #undef HAVE__STRICOLL #undef HAVE__STRNCOLL #undef HAVE__STRNICOLL #undef HAVE__SNPRINTF #undef HAVE__VSNPRINTF #undef HAVE__VSNPRINTF_S #undef HAVE_STRDUP #undef HAVE_STRCOLL #undef HAVE_STRXFRM #undef HAS_SYSCONF #undef HAS_TEXTDOMAIN #undef HAS_VSNPRINTF #undef HAVE_WAITPID #undef HAVE_WAIT3 #undef HAVE_WAIT #undef UNION_WAIT #undef HAVE_IMAXDIV #undef HAVE_GETPID #undef HAVE_GETPPID #undef HAVE_KQUEUE /* Variables and defines */ #undef HAVE_H_ERRNO #undef HAVE_SIGCHLD #undef HAVE_SIGCLD /* Files */ #undef HAS_DEV_URANDOM /* Misc. */ #undef HAVE_SOCKADDR_IN6 #undef FORCE_IPV4 #undef DONT_TRANSLATE #undef HAVE_UPTIME /* Path to uptime */ #undef UPTIME #undef HAVE_SENDMAIL /* Path to sendmail */ #undef SENDMAIL #undef HAVE_SAFE_TOUPPER /* Optional language features */ #undef restrict #undef inline #ifdef _MSC_VER #define WIN32_CDECL __cdecl #else #define WIN32_CDECL #endif #undef HAVE___ATTRIBUTE__ #ifndef HAVE___ATTRIBUTE__ #define __attribute__(x) #endif #undef GCC_MALLOC_CALL /* TODO: Change in source */ #define RESTRICT restrict #endif /* __CONFIG_H */