/* machine.h.  Generated automatically by configure.  */
/* machine.h.in.  Generated automatically from configure.in by autoheader.  */
#ifndef MACHINE_H
#define MACHINE_H

/* We must define this *always* */
#ifndef POSIX_SOURCE
#define POSIX_SOURCE
#endif

/* Where's the master.pike file installed? */
#define DEFAULT_MASTER "/usr/local/lib/pike/master.pike"

/* Define this if you want run time self tests */
#define DEBUG 1


/* Define if on AIX 3.
   System headers sometimes define this.
   We just want to avoid a redefinition error message.  */
#ifndef _ALL_SOURCE
/* #undef _ALL_SOURCE */
#endif

/* Define if using alloca.c.  */
/* #undef C_ALLOCA */

/* Define to empty if the keyword does not work.  */
/* #undef const */

/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
   This function is required for alloca.c support on those systems.  */
/* #undef CRAY_STACKSEG_END */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef gid_t */

/* Define if you have alloca, as a function or macro.  */
#define HAVE_ALLOCA 1

/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
#define HAVE_ALLOCA_H 1

/* Define if you have a working `mmap' system call.  */
#define HAVE_MMAP 1

/* Define if you have the strcoll function and it is properly defined.  */
#define HAVE_STRCOLL 1

/* Define as __inline if that's what the C compiler calls it.  */
#define inline __inline

/* Define if on MINIX.  */
/* #undef _MINIX */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef pid_t */

/* Define if the system does not provide POSIX.1 features except
   with this defined.  */
/* #undef _POSIX_1_SOURCE */

/* Define if you need to in order for stat and other things to work.  */
/* #undef _POSIX_SOURCE */

/* Define as the return type of signal handlers (int or void).  */
#define RETSIGTYPE void

/* 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
 */
#define STACK_DIRECTION -1

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

/* Define if you can safely include both <sys/time.h> and <time.h>.  */
#define TIME_WITH_SYS_TIME 1

/* Define if your <sys/time.h> declares struct tm.  */
/* #undef TM_IN_SYS_TIME */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef uid_t */

/* Enable profiling */
/* #undef PROFILING */

/* Define for solaris */
/* #undef SOLARIS */

/* Define to 'int' if <sys/time.h> doesn't */
/* #undef time_t */

/* Define as the return type of signal handlers (int or void).  */
#define RETSIGTYPE void

/* 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
 */
#define STACK_DIRECTION -1

/* 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 */

/* Define if you have isspace */
#define HAVE_ISSPACE 1

/* Define if you have crypt.  */
#define HAVE_CRYPT 1

/* Define if you have ualarm (else put ualarm.o in the makefile).  */
#define HAVE_UALARM 1

/* Define if your ualarm takes two args.. */
#define UALARM_TAKES_TWO_ARGS 1

/* Define if gettimeofday takes to arguments */
#define GETTIMEOFDAY_TAKES_TWO_ARGS 1

/* Define if you have a working, 8-bit-clean memcmp */
#define HAVE_MEMCMP 1

/* Define if you have memmove.  */
#ifndef __CHECKER__
#define HAVE_MEMMOVE 1
#endif

/* Define if you have memmem.  */
/* #undef HAVE_MEMMEM */

/* Define this if you have dlopen */
#define HAVE_DLOPEN 1

/* Define if you have ldexp.  */
#define HAVE_LDEXP 1

/* Define if you have frexp.  */
/* #undef HAVE_FREXP */

/* Define if your signals are one-shot */
#define SIGNAL_ONESHOT 1

/* You have gcc stype function attributes? */
/* #undef HAVE_FUNCTION_ATTRIBUTES */

/* Do your compiler grock 'volatile' */
#define VOLATILE volatile

/* How to extract a char and an unsigned char from a char * */
#define EXTRACT_CHAR_BY_CAST 1
#define EXTRACT_UCHAR_BY_CAST 1

/* 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 byteorder does your machie use most machines use 4321, PC use 1234 */
#define BYTEORDER 1234

/* Number of possible filedesriptors */
#define MAX_OPEN_FILEDESCRIPTORS 4096

/* Value of first constant defined by byacc/bison/yacc or whatever you use. */
#define F_OFFSET 258

/* define this if #include <time.h> provides an external int timezone */
/* #undef HAVE_EXTERNAL_TIMEZONE */

/* define this if your struct tm has a tm_gmtoff */
/* #undef STRUCT_TM_HAS_GMTOFF */

/* Define if you have struct timeval */
#define HAVE_STRUCT_TIMEVAL 1

/* Define this to the max value of an unsigned short unles <limits.h> does.. */
/* #undef USHRT_MAX */

/* Define these if you are going to use threads */
#define _REENTRANT 1
#define _THREAD_SAFE 1

/* Define this if you want the UNIX taste of threads */
/* #undef _UNIX_THREADS */

/* Define this if you want the POSIX taste of threads */
#define _MIT_POSIX_THREADS 1

/* Define this if your pthreads have pthread_condattr_default */
/* #undef HAVE_PTHREAD_CONDATTR_DEFAULT */

/* Define if you have the pthread_attr_setstacksize function.  */
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1

/* Define if you have the pthread_cond_init function.  */
#define HAVE_PTHREAD_COND_INIT 1

/* Define if you have the pthread_yield function.  */
/* #undef HAVE_PTHREAD_YIELD */

/* Define if your cpp supports the ANSI concatenation operator ## */
#define HAVE_ANSI_CONCAT 1

/* Define if your cpp supports K&R-style concatenation */
/* #undef HAVE_KR_CONCAT */

/* The number of bytes in a char *.  */
#define SIZEOF_CHAR_P 8

/* The number of bytes in a double.  */
#define SIZEOF_DOUBLE 8

/* The number of bytes in a float.  */
#define SIZEOF_FLOAT 4

/* The number of bytes in a int.  */
#define SIZEOF_INT 4

/* The number of bytes in a long.  */
#define SIZEOF_LONG 8

/* The number of bytes in a short.  */
#define SIZEOF_SHORT 2

/* Define if you have the _crypt function.  */
/* #undef HAVE__CRYPT */

/* Define if you have the bcopy function.  */
#define HAVE_BCOPY 1

/* Define if you have the bzero function.  */
#define HAVE_BZERO 1

/* Define if you have the clock function.  */
#define HAVE_CLOCK 1

/* Define if you have the crypt function.  */
#define HAVE_CRYPT 1

/* Define if you have the dld_get_func function.  */
/* #undef HAVE_DLD_GET_FUNC */

/* Define if you have the dld_link function.  */
/* #undef HAVE_DLD_LINK */

/* Define if you have the fchmod function.  */
#define HAVE_FCHMOD 1

/* Define if you have the getenv function.  */
#define HAVE_GETENV 1

/* Define if you have the gethrtime function.  */
/* #undef HAVE_GETHRTIME */

/* Define if you have the gethrvtime function.  */
/* #undef HAVE_GETHRVTIME */

/* Define if you have the getpagesize function.  */
#define HAVE_GETPAGESIZE 1

/* Define if you have the getrlimit function.  */
#define HAVE_GETRLIMIT 1

/* Define if you have the getrusage function.  */
#define HAVE_GETRUSAGE 1

/* Define if you have the gettimeofday function.  */
#define HAVE_GETTIMEOFDAY 1

/* Define if you have the index function.  */
#define HAVE_INDEX 1

/* Define if you have the localtime function.  */
#define HAVE_LOCALTIME 1

/* Define if you have the memchr function.  */
#define HAVE_MEMCHR 1

/* Define if you have the memcpy function.  */
#define HAVE_MEMCPY 1

/* Define if you have the memset function.  */
#define HAVE_MEMSET 1

/* Define if you have the mktime function.  */
#define HAVE_MKTIME 1

/* Define if you have the munmap function.  */
#define HAVE_MUNMAP 1

/* Define if you have the pipe function.  */
#define HAVE_PIPE 1

/* Define if you have the pthread_init function.  */
/* #undef HAVE_PTHREAD_INIT */

/* Define if you have the rindex function.  */
#define HAVE_RINDEX 1

/* Define if you have the setlocale function.  */
#define HAVE_SETLOCALE 1

/* Define if you have the setrlimit function.  */
#define HAVE_SETRLIMIT 1

/* Define if you have the sigaction function.  */
#define HAVE_SIGACTION 1

/* Define if you have the sigvec function.  */
#define HAVE_SIGVEC 1

/* Define if you have the strcasecmp function.  */
#define HAVE_STRCASECMP 1

/* Define if you have the strchr function.  */
#define HAVE_STRCHR 1

/* Define if you have the strcspn function.  */
#define HAVE_STRCSPN 1

/* Define if you have the strdup function.  */
#define HAVE_STRDUP 1

/* Define if you have the strerror function.  */
#define HAVE_STRERROR 1

/* Define if you have the strrchr function.  */
#define HAVE_STRRCHR 1

/* Define if you have the strtod function.  */
#define HAVE_STRTOD 1

/* Define if you have the strtok function.  */
#define HAVE_STRTOK 1

/* Define if you have the strtol function.  */
#define HAVE_STRTOL 1

/* Define if you have the times function.  */
#define HAVE_TIMES 1

/* Define if you have the ualarm function.  */
#define HAVE_UALARM 1

/* Define if you have the vfprintf function.  */
#define HAVE_VFPRINTF 1

/* Define if you have the vsprintf function.  */
#define HAVE_VSPRINTF 1

/* Define if you have the wait3 function.  */
#define HAVE_WAIT3 1

/* Define if you have the wait4 function.  */
#define HAVE_WAIT4 1

/* Define if you have the waitpid function.  */
#define HAVE_WAITPID 1

/* Define if you have the <crypt.h> header file.  */
#define HAVE_CRYPT_H 1

/* Define if you have the <dld.h> header file.  */
/* #undef HAVE_DLD_H */

/* Define if you have the <dlfcn.h> header file.  */
#define HAVE_DLFCN_H 1

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the <limits.h> header file.  */
#define HAVE_LIMITS_H 1

/* Define if you have the <locale.h> header file.  */
#define HAVE_LOCALE_H 1

/* Define if you have the <memory.h> header file.  */
#define HAVE_MEMORY_H 1

/* Define if you have the <pthread.h> header file.  */
#define HAVE_PTHREAD_H 1

/* Define if you have the <sched.h> header file.  */
#define HAVE_SCHED_H 1

/* Define if you have the <setjmp.h> header file.  */
#define HAVE_SETJMP_H 1

/* Define if you have the <stdlib.h> header file.  */
#define HAVE_STDLIB_H 1

/* Define if you have the <string.h> header file.  */
#define HAVE_STRING_H 1

/* Define if you have the <strings.h> header file.  */
#define HAVE_STRINGS_H 1

/* Define if you have the <sys/filio.h> header file.  */
/* #undef HAVE_SYS_FILIO_H */

/* Define if you have the <sys/mman.h> header file.  */
#define HAVE_SYS_MMAN_H 1

/* Define if you have the <sys/procfs.h> header file.  */
#define HAVE_SYS_PROCFS_H 1

/* Define if you have the <sys/resource.h> header file.  */
#define HAVE_SYS_RESOURCE_H 1

/* Define if you have the <sys/rusage.h> header file.  */
/* #undef HAVE_SYS_RUSAGE_H */

/* Define if you have the <sys/select.h> header file.  */
#define HAVE_SYS_SELECT_H 1

/* Define if you have the <sys/sockio.h> header file.  */
/* #undef HAVE_SYS_SOCKIO_H */

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <sys/times.h> header file.  */
#define HAVE_SYS_TIMES_H 1

/* Define if you have the <sys/types.h> header file.  */
#define HAVE_SYS_TYPES_H 1

/* Define if you have the <thread.h> header file.  */
/* #undef HAVE_THREAD_H */

/* Define if you have the <time.h> header file.  */
#define HAVE_TIME_H 1

/* Define if you have the <unistd.h> header file.  */
#define HAVE_UNISTD_H 1

/* Define if you have the <values.h> header file.  */
#define HAVE_VALUES_H 1

/* Define if you have the dl library (-ldl).  */
/* #undef HAVE_LIBDL */

/* Define if you have the dld library (-ldld).  */
/* #undef HAVE_LIBDLD */

/* Define if you have the m library (-lm).  */
#define HAVE_LIBM 1

/* Define if you have the nsl library (-lnsl).  */
/* #undef HAVE_LIBNSL */

/* Define if you have the socket library (-lsocket).  */
/* #undef HAVE_LIBSOCKET */

/* How to set a socket non-blocking */
/* #undef USE_IOCTL_FIONBIO */
/* #undef USE_FCNTL_O_NDELAY */
#define USE_FCNTL_FNDELAY 1
/* #undef USE_FCNTL_O_NONBLOCK */

/* We want to use errno later */
#ifdef _SGI_SPROC_THREADS
/* Magic define of _SGI_MP_SOURCE above might redefine errno below */
#include <errno.h>
#if defined(HAVE_OSERROR) && !defined(errno)
#define errno (oserror())
#endif /* HAVE_OSERROR && !errno */
#endif /* _SGI_SPROC_THREADS */

#ifdef HAVE_FUNCTION_ATTRIBUTES
#define ATTRIBUTE(X) __attribute__ (X)
#else
#define ATTRIBUTE(X)
#endif

/* NOTE:
 *    PIKE_CONCAT doesn't get defined if there isn't any way to
 *    concatenate symbols
 */
#ifdef HAVE_ANSI_CONCAT
#define PIKE_CONCAT(X,Y)	X##Y
#define PIKE_CONCAT3(X,Y,Z)	X##Y##Z
#else
#ifdef HAVE_KR_CONCAT
#define PIKE_CONCAT(X,Y)	X/**/Y
#define PIKE_CONCAT3(X,Y,Z)	X/**/Y/**/Z
#endif /* HAVE_KR_CONCAT */
#endif /* HAVE_ANSI_CONCAT */

#endif /* MACHINE_H */
