pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:77:
#ifdef HAVE_UNISTD_H #include <unistd.h> #undef HAVE_UNISTD_H #endif #ifdef HAVE_STRING_H #include <string.h> #undef HAVE_STRING_H #endif
-
#ifdef HAVE_
MEMORY
_H
-
#include <
memory
.h>
-
#undef HAVE_
MEMORY
_H
+
#ifdef HAVE_
LIMITS
_H
+
#include <
limits
.h>
+
#undef HAVE_
LIMITS
_H
#endif
-
#
if
__
GNUC
_
_ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
-
#
define
RCSID(X) \
-
static char *rcsid __attribute__ ((unused)) =X
-
#
elif
__
GNUC
_
_ == 2
-
#define RCSID(X) \
-
static char *rcsid = X; \
-
static void *use_rcsid=(&use_rcsid, (void *)&rcsid)
-
#else
-
#define RCSID(X) \
-
static char *rcsid = X
+
#
ifdef
HAVE
_
SYS
_
TYPES
_
H
+
#
include
<sys/types.h>
+
#
undef
HAVE
_
SYS
_
TYPES
_
H
#endif
-
#
if
defined(
__
GNUC__) && !defined(DEBUG) && !defined(lint)
-
#
define
INLINE inline
-
#
else
-
#define
INLINE
+
#
ifdef
HAVE
_
MEMORY
_
H
+
#
include
<memory.h>
+
#
undef
HAVE_MEMORY_H
#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
pike.git/src/global.h:130:
#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
+
+
+
#
if
__
GNUC
_
_ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
+
#
define
RCSID(X) \
+
static char *rcsid __attribute__ ((unused)) =X
+
#
elif
__
GNUC
_
_ == 2
+
#define RCSID(X) \
+
static char *rcsid = X; \
+
static void *use_rcsid=(&use_rcsid, (void *)&rcsid)
+
#else
+
#define RCSID(X) \
+
static char *rcsid = X
#endif
-
+
#if defined(__GNUC__) && !defined(DEBUG) && !defined(lint)
+
#define INLINE inline
+
#else
+
#define INLINE
+
#endif
#include "port.h" #ifdef BUFSIZ #define PROT_STDIO(x) PROT(x) #else #define PROT_STDIO(x) () #endif