mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
MFH: __builtin_expect() exists only in GCC 3.0 and higher
This commit is contained in:
parent
7d7248390c
commit
cfbd58c987
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ void zend_debug_alloc_output(char *format, ...)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX)
|
#if (defined (__GNUC__) && __GNUC__ > 2 ) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX)
|
||||||
# define EXPECTED(condition) __builtin_expect(condition, 1)
|
# define EXPECTED(condition) __builtin_expect(condition, 1)
|
||||||
# define UNEXPECTED(condition) __builtin_expect(condition, 0)
|
# define UNEXPECTED(condition) __builtin_expect(condition, 0)
|
||||||
static void zend_mm_panic(const char *message) __attribute__ ((noreturn));
|
static void zend_mm_panic(const char *message) __attribute__ ((noreturn));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue