pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:100:
#define RCSID(X) \ static char *rcsid = X #endif #if defined(__GNUC__) && !defined(DEBUG) && !defined(lint) #define INLINE inline #else #define INLINE #endif
+
/* we here define a few types with more defined values */
+
+
#ifdef HAVE_LIMITS_H
+
#include <limits.h>
+
#undef HAVE_LIMITS_H
+
#endif
+
+
#define INT64 long long
+
+
#if SIZEOF_SHORT >= 4
+
#define INT32 short
+
#else
+
#if SIZEOF_INT >= 4
+
#define INT32 int
+
#else
+
#define INT32 long
+
#endif
+
#endif
+
+
#define INT16 short
+
#define INT8 char
+
+
#define SIZE_T unsigned INT32
+
+
#define TYPE_T unsigned INT8
+
#define TYPE_FIELD unsigned INT16
+
+
#define FLOAT_TYPE float
+
+
+
#ifdef HAVE_SYS_TYPES_H
+
#include <sys/types.h>
+
#undef HAVE_SYS_TYPES_H
+
#endif
+
+
#include "port.h" #ifdef BUFSIZ #define PROT_STDIO(x) PROT(x) #else #define PROT_STDIO(x) () #endif #ifdef __STDC__