Branch: Tag:

2009-03-19

2009-03-19 11:46:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved iovec definition some more.

Rev: src/global.h:1.116

2:   || 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.115 2009/03/18 09:27:52 grubba Exp $ + || $Id: global.h,v 1.116 2009/03/19 11:46:28 grubba Exp $   */      #ifndef GLOBAL_H
98:   #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 */ -  +    /* Some identifiers used as flags in the machine.h defines. */   #define PIKE_YES 1   #define PIKE_NO 2
511:   #define PTRDIFF_T_TO_LONG(x) ((long)(x))   #endif /* __ECL */    + #ifndef HAVE_STRUCT_IOVEC + #define HAVE_STRUCT_IOVEC + struct iovec { +  void *iov_base; +  size_t iov_len; + }; + #endif /* !HAVE_STRUCT_IOVEC */ +    #include "port.h"   #include "dmalloc.h"