pike.git / src / global.h

version» Context lines:

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