pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:38:    */   #define MAX_LOCAL 256      /*    * define NO_GC to get rid of garbage collection    */   #ifndef NO_GC   #define GC2   #endif    + #if defined(i386) + #ifndef HANDLES_UNALIGNED_MEMORY_ACCESS + #define HANDLES_UNALIGNED_MEMORY_ACCESS + #endif + #endif +    /* AIX requires this to be the first thing in the file. */   #ifdef __GNUC__   # ifdef alloca   # undef alloca   # endif   # define alloca __builtin_alloca   #else   # if HAVE_ALLOCA_H   # include <alloca.h>   # else
pike.git/src/global.h:65:   # endif   #endif      #include <stdio.h>      #ifdef HAVE_STDLIB_H   #include <stdlib.h>   #undef HAVE_STDLIB_H   #endif    + #ifdef HAVE_MALLOC_H + #include <malloc.h> + #undef HAVE_MALLOC_H + #endif +    #ifdef HAVE_UNISTD_H   #include <unistd.h>   #undef HAVE_UNISTD_H   #endif      #ifdef HAVE_STRING_H   #include <string.h>   #undef HAVE_STRING_H   #endif   
pike.git/src/global.h:114:      #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 + #define INT_TYPE INT32    -  + #define B1_T char    -  + #if SIZEOF_SHORT == 2 + #define B2_T short + #elif SIZEOF_INT == 2 + #define B2_T int + #endif    -  + #if SIZEOF_SHORT == 4 + #define B4_T short + #elif SIZEOF_INT == 4 + #define B4_T int + #elif SIZEOF_LONG == 4 + #define B4_T long + #endif    -  + #if SIZEOF_INT == 8 + #define B8_T int + #elif SIZEOF_LONG == 8 + #define B8_T long + #elif SIZEOF_CHAR_P == 8 + #define B8_T char * + #elif defined(B4_T) + struct b8_t_s { B4_T x,y; }; + #define B8_T struct b8_t_s + #endif +  + #if defined(B8_T) + struct b16_t_s { B8_T x,y; }; + #define B16_T struct b16_t_s + #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   #endif      #if defined(__GNUC__) && !defined(DEBUG) && !defined(lint)   #define INLINE inline   #else   #define INLINE   #endif      #include "port.h" -  + #include "dmalloc.h"         #ifdef BUFSIZ   #define PROT_STDIO(x) PROT(x)   #else   #define PROT_STDIO(x) ()   #endif      #ifdef __STDC__   #define PROT(x) x