pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:200:   #else   #define ATTRIBUTE(X)   #endif      #ifdef HAVE_DECLSPEC   #define DECLSPEC(X) __declspec(X)   #else /* !HAVE_DECLSPEC */   #define DECLSPEC(X)   #endif /* HAVE_DECLSPEC */    + #ifdef HAS_BUILTIN_EXPECT + # define UNLIKELY(X) __builtin_expect( (X), 0 ) + # define LIKELY(X) __builtin_expect( (X), 1 ) + #else + # define UNLIKELY(X) X + # define LIKELY(X) X + #endif +    #ifndef HAVE_WORKING_REALLOC_NULL   #define realloc(PTR, SZ) pike_realloc(PTR,SZ)   #endif      /* NOTE:    * PIKE_CONCAT doesn't get defined if there isn't any way to    * concatenate symbols    */   #ifdef HAVE_ANSI_CONCAT   #define PIKE_CONCAT(X,Y) X##Y