pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:624:
#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
-
/* Used by the AutoBuild system to mark known warnings. */
-
#define DO_NOT_WARN(X) (X)
-
+
/* Some functions/macros used to avoid loss of precision warnings. */ #ifdef __ECL static INLINE long PTRDIFF_T_TO_LONG(ptrdiff_t x) {
-
return
DO_NOT_WARN
(
(
long)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;