pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: global.h,v 1.50 2000/08/16 17:46:22 grubba Exp $ +  * $Id: global.h,v 1.51 2000/08/17 18:20:18 grubba Exp $    */   #ifndef GLOBAL_H   #define GLOBAL_H      #if defined(__WINNT__) && !defined(__NT__)   #define __NT__   #endif      /* The worlds most stringent C compiler? */   #ifdef __TenDRA__
pike.git/src/global.h:337: Inside #if defined(PIKE_SECURITY)
     #ifdef PIKE_SECURITY   #define DO_IF_SECURITY(X) X   #else   #define DO_IF_SECURITY(X)   #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); + } + #else /* !__ECL */ + #define PTRDIFF_T_TO_LONG(x) ((long)(x)) + #endif /* __ECL */ +    #include "port.h"   #include "dmalloc.h"         #ifdef BUFSIZ   #define PROT_STDIO(x) PROT(x)   #else   #define PROT_STDIO(x) ()   #endif