mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
![]() For Clang, we just need to define the respective macros, since these built-ins are available in all supported Clang versions (>= 4.0.0, currently)[1]. For MSVC (and possibly other compilers) we use the respective APIs of intsafe.h[2] which are available as of Windows 7/Server 2008 R2. This avoids the UB due to signed integer overflow that may happen with our fallback implementations. We also drop the superfluous SHORT_MAX definition from pdo_firebird. This shouldn't be defined unconditionally, but since it is apparently unused, we remove it altogether. [1] <https://releases.llvm.org/4.0.0/tools/clang/docs/LanguageExtensions.html> [2] <https://learn.microsoft.com/en-us/windows/win32/api/intsafe/> |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
firebird_driver.c | ||
firebird_statement.c | ||
pdo_firebird.c | ||
pdo_firebird.stub.php | ||
pdo_firebird_arginfo.h | ||
pdo_firebird_utils.cpp | ||
pdo_firebird_utils.h | ||
php_pdo_firebird.h | ||
php_pdo_firebird_int.h |