pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:1:
/* || 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.
99
2004/
05
/
20
20
:
13
:
38
grubba
Exp $
+
|| $Id: global.h,v 1.
100
2004/
06
/
02
00
:
09
:
48
nilsson
Exp $
*/ #ifndef GLOBAL_H #define GLOBAL_H /* Mingw32 workarounds */ #if (defined(__WINNT__) || defined(__WIN32__)) && !defined(__NT__) #define __NT__ #endif
pike.git/src/global.h:432:
#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)
+
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" #include "pike_cpulib.h"