pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
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 )
+
#ifdef HAS_
__
BUILTIN_EXPECT
+
# define UNLIKELY(X) __builtin_expect( (
long)(
X), 0 )
+
# define LIKELY(X) __builtin_expect( (
long)(
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: