pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:88: Inside #if defined(_MSC_VER) and #if _MSC_VER <= 1800
  #if _MSC_VER <= 1800   /* The isnan() macro was added in VS 2015.    */   #define isnan(X) _isnan(X)   #endif /* _MSC_VER <= 1800 */   #endif /* _MSC_VER <= 1900 */   #endif /* _MSC_VER */      #endif /* __NT__ */    - #ifdef __amigaos__ - /* Avoid getting definitions of struct in_addr from <unistd.h>... */ - #define __USE_NETINET_IN_H - #endif -  +    /*    * Some structure forward declarations are needed.    */      /* This is needed for linux */   #ifdef MALLOC_REPLACED   #define NO_FIX_MALLOC   #endif      #ifndef STRUCT_PROGRAM_DECLARED
pike.git/src/global.h:276:      #define TOSTR(X) #X   #define DEFINETOSTR(X) TOSTR(X)      /*    * Max number of local variables in a function.    * Currently there is no support for more than 256    */   #define MAX_LOCAL 256    - /* -  * define NO_GC to get rid of garbage collection -  */ - #ifndef NO_GC - #define GC2 - #endif -  +    #if defined(i386) || defined(__powerpc__) || defined(__x86_64__) || (defined(__aarch64__) && defined(__ARM_FEATURE_UNALIGNED))   #ifndef HANDLES_UNALIGNED_MEMORY_ACCESS   #define HANDLES_UNALIGNED_MEMORY_ACCESS   #endif   #endif /* i386 */      /* AIX requires this to be the first thing in the file. */   #if HAVE_ALLOCA_H   # include <alloca.h>   # ifdef __GNUC__
pike.git/src/global.h:390:   #define B8_T long long   #elif (SIZEOF___INT64 - 0) == 8   #define B8_T __int64   #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    - #ifdef B8_T + #if (SIZEOF___INT128 - 0) == 16 + #define B16_T __int128 + #elif defined(B8_T)   struct b16_t_s { B8_T x,y; };   #define B16_T struct b16_t_s   #endif      /* INT_TYPE stuff */   #ifndef MAX_INT_TYPE   # ifdef WITH_SHORT_INT      # define MAX_INT_TYPE SHRT_MAX   # define MIN_INT_TYPE SHRT_MIN
pike.git/src/global.h:523:   } PCHARP;      #define WERR(...) fprintf(stderr,__VA_ARGS__)      #ifdef PIKE_DEBUG      #define DO_IF_DEBUG(X) X   #define DO_IF_DEBUG_ELSE(DEBUG, NO_DEBUG) DEBUG   #define DWERR(...) WERR(__VA_ARGS__)    + /* Control assert() definition in <assert.h> */   #undef NDEBUG      /* Set of macros to simplify passing __FILE__ and __LINE__ to    * functions only in debug mode. */   #define DLOC __FILE__, __LINE__   #define COMMA_DLOC , __FILE__, __LINE__   #define DLOC_DECL const char *dloc_file, int dloc_line   #define COMMA_DLOC_DECL , const char *dloc_file, int dloc_line   #define DLOC_ARGS dloc_file, dloc_line   #define DLOC_ARGS_OPT dloc_file, dloc_line