[php-src] PR #17457: Define PHP_HAVE_BUILTIN_EXPECT for Clang on Windows
| From: | cmb69 | Date: | Sun, 12 Jan 2025 23:51:19 +0000 |
| Subject: | [php-src] PR #17457: Define PHP_HAVE_BUILTIN_EXPECT for Clang on Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30367@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17457
Author: cmb69
Clang supports
__builtin_expect() at least as of 4.0.0, which is the (theoretical)
minimum required on Windows, so we define it unconditionally. This also solves some macro
redefinition warnings in JIT-IR.