pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2009-03-19
2009-03-19 11:46:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>
5ce64f51fb7cae080e90e6b94c062ca2e62d98c3 (
19
lines) (+
10
/-
9
)
[
Show
|
Annotate
]
Branch:
7.9
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"