#ifndef MACHINE_H #define MACHINE_H /* Define if using alloca.c. */ #undef C_ALLOCA /* Define if you have dirent.h. */ #undef DIRENT /* Define if you don't have dirent.h, but have ndir.h. */ #undef NDIR /* Define if you don't have dirent.h, but have sys/dir.h. */ #undef SYSDIR /* Define if you don't have dirent.h, but have sys/ndir.h. */ #undef SYSNDIR /* Define if the closedir function returns void instead of int. */ #undef VOID_CLOSEDIR /* Define if you have alloca.h and it should be used (not Ultrix). */ #undef HAVE_ALLOCA_H /* Define as __inline if that's what the C compiler calls it. */ #undef inline /* Define if you compiler _doesn't_ have const */ #undef const /* Define to `int' if <sys/types.h> doesn't define. */ #undef pid_t /* Define to `int' if <sys/types.h> doesn't define. */ #undef uid_t /* Define to `int' if <sys/types.h> doesn't define. */ #undef gid_t /* Define as the return type of signal handlers (int or void). */ #undef RETSIGTYPE /* Define to `unsigned' if <sys/types.h> doesn't define. */ #undef size_t /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Is the library function inet_ntoa() compatible with the compiler ? */ #undef INET_NTOA_OK /* The following values must be evaluable by the preprocessor */ #define SIZEOF_CHAR_P 4 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #undef RENAME_HANDLES_DIRECTORIES /* Does the system have a getrusage call? */ #undef HAVE_GETRUSAGE /* If so, is it restricted to user and system time? */ #undef GETRUSAGE_RESTRICTED /* Solaris has rusage as an ioctl on procfs */ #undef GETRUSAGE_THROUGH_PROCFS /* How to set a socket non-blocking */ #undef USE_IOCTL_FIONBIO #undef USE_FCNTL_O_NDELAY #undef USE_FCNTL_FNDELAY #undef USE_FCNTL_NONBLOCK /* Define if you have index */ #undef HAVE_STRTOL /* Define if you have rindex */ #undef HAVE_RINDEX /* Define if you have strchr */ #undef HAVE_STRCHR /* Define if you have strrchr */ #undef HAVE_STRRCHR /* Define if you have strstr */ #undef HAVE_STRSTR /* Define if you have strtok */ #undef HAVE_STRTOK /* Define if you have strtod */ #undef HAVE_STRTOD /* Define if you have bzero. */ #undef HAVE_BZERO /* Define if you have crypt. */ #undef HAVE_CRYPT /* Define if you have _crypt. */ #undef HAVE__CRYPT /* Define if you have ualarm (else put ualarm.o in the makefile). */ #undef HAVE_UALARM /* Define if you have fchmod. */ #undef HAVE_FCHMOD /* Define if you have getwd. */ #undef HAVE_GETWD /* Define if you have getcwd. */ #undef HAVE_GETCWD /* Does your unix have a putenv function? */ #undef HAVE_PUTENV /* Define if you have memchr */ #undef HAVE_MEMCMP /* Define if you have memchr */ #undef HAVE_MEMCHR /* Define if you have memcpy. */ #undef HAVE_MEMCPY /* Define if you have memmem. */ #undef HAVE_MEMMEM /* Define if you have memset. */ #undef HAVE_MEMSET /* Define if you have strcspn. */ #undef HAVE_STRCSPN /* Define if you have vfprintf. */ #undef HAVE_VFPRINTF /* Define if you have vsprintf. */ #undef HAVE_VSPRINTF /* Define if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H /* Define if you have the <crypt.h> header file. */ #undef HAVE_CRYPT_H /* Define if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H /* Define if you have the <netinet/in.h> header file. */ #undef HAVE_NETINET_IN_H /* Define if you have the <string.h> header file. */ #undef HAVE_STRING_H /* Define if you have the <sys/rusage.h> header file. */ #undef HAVE_SYS_RUSAGE_H /* Define if you have the <sys/time.h> header file. */ #undef HAVE_SYS_TIME_H /* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H /* Define if you have the <sys/socketvar.h> header file. */ #undef HAVE_SYS_SOCKETVAR_H /* more header files */ #undef HAVE_FCNTL_H #undef HAVE_SYS_FILIO_H #undef HAVE_SYS_SOCKIO_H /* Define if you have the m library (-lm). */ #undef HAVE_LIBM /* Define if you have the nsl library (-lnsl). */ #undef HAVE_LIBNSL /* Define if you have the socket library (-lsocket). */ #undef HAVE_LIBSOCKET /* You have gcc stype function attributes? */ #undef HAVE_FUNCTION_ATTRIBUTES /* Do your compiler grock 'volatile' */ #define VOLATILE volatile #ifdef HAVE_FUNCTION_ATTRIBUTES #define ATTRIBUTE(X) __attribute__ (X) #else #define ATTRIBUTE(X) #endif /* Do we need to use '#pragma alloca' ? */ #undef USE_PRAGMA_ALLOCA #ifdef USE_PRAGMA_ALLOCA #pragma alloca #endif /* * How to extract an unsigned char from a char *. * If your compiler has the type 'unsigned char', then the cast-version * is best. If you do not know, use the simple version, and the game will * immediately terminate with a message if bad. */ #undef EXTRACT_UCHAR_BY_CAST #ifdef EXTRACT_UCHAR_BY_CAST #define EXTRACT_UCHAR(p) (*(unsigned char *)(p)) #else #define EXTRACT_UCHAR(p) (*(p) < 0 ? *(p) + 0x100 : *(p)) #endif /* The rest of this file is just to eliminate warnings */ /* define if declaration of strchr is missing */ #undef STRCHR_DECL_MISSING /* define if declaration of malloc is missing */ #undef MALLOC_DECL_MISSING /* define if declaration of getpeername is missing */ #undef GETPEERNAME_DECL_MISSING /* define if declaration of gethostname is missing */ #undef GETHOSTNAME_DECL_MISSING /* define if declaration of popen is missing */ #undef POPEN_DECL_MISSING /* define if declaration of getenv is missing */ #undef GETENV_DECL_MISSING /* what type does malloc return? */ #undef POINTER /* what type does free return? */ #undef FREE_RETURNS_VOID /* Does your processor handle reading ints from odd adresses? */ #undef HANDLES_UNALIGNED_MEMORY_ACCESS /* Value of first constant defined by byacc/bison/yacc or whatever you use. */ #define F_OFFSET 257 #endif /* MACHINE_H */