pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: global.h,v 1.114 2009/03/18 07:55:45 grubba Exp $ + || $Id: global.h,v 1.115 2009/03/18 09:27:52 grubba Exp $   */      #ifndef GLOBAL_H   #define GLOBAL_H      /* Mingw32 workarounds */   #if (defined(__WINNT__) || defined(__WIN32__)) && !defined(__NT__)   #define __NT__   #endif   
pike.git/src/global.h:85:   struct sockaddr;   struct object;   struct array;   struct svalue;      #ifndef STRUCT_TIMEVAL_DECLARED   #define STRUCT_TIMEVAL_DECLARED   struct timeval;   #endif    + #ifndef CONFIGURE_TEST + /* machine.h doesn't exist if we're included from a configure test +  * program. In that case these defines will already be included. */ + #include "machine.h" + #endif +    #ifndef HAVE_STRUCT_IOVEC   #define HAVE_STRUCT_IOVEC   struct iovec {    void *iov_base;    size_t iov_len;   };   #endif /* !HAVE_STRUCT_IOVEC */    - #ifndef CONFIGURE_TEST - /* machine.h doesn't exist if we're included from a configure test -  * program. In that case these defines will already be included. */ - #include "machine.h" - #endif -  +    /* Some identifiers used as flags in the machine.h defines. */   #define PIKE_YES 1   #define PIKE_NO 2   #define PIKE_UNKNOWN 3      /* 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)