pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:631:
#ifndef PMOD_PROTO #define PMOD_PROTO #endif #ifndef DO_PIKE_CLEANUP #if defined(PURIFY) || defined(__CHECKER__) || defined(DEBUG_MALLOC) #define DO_PIKE_CLEANUP #endif #endif
-
/* Some functions/macros used to avoid loss of precision warnings. */
-
#ifdef __ECL
-
static inline long PTRDIFF_T_TO_LONG(ptrdiff_t x)
-
{
-
return (long)x;
-
}
-
#else /* !__ECL */
-
#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"