From: Johannes Schlüter Date: Mon, 20 Apr 2009 09:16:51 +0000 (+0000) Subject: Fix #47535 Compilation failure in ps_fetch_from_1_to_8_bytes() X-Git-Tag: php-5.3.0RC2~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=501ecb10f4e8cd3ba1c5f65617ddfddc9289a451;p=php Fix #47535 Compilation failure in ps_fetch_from_1_to_8_bytes() --- diff --git a/NEWS b/NEWS index c1c41e6014..3a5b17e3b4 100644 --- a/NEWS +++ b/NEWS @@ -30,6 +30,8 @@ PHP NEWS - Fixed bug #47662 (Support more than 127 subpatterns in preg_match). (Nuno) - Fixed bug #47596 (Bus error on parsing file). (Dmitry) - Fixed bug #47560 (explode()'s limit parameter odd behaviour). (Matt) +- Fixed bug #47535 (Compilation failure in ps_fetch_from_1_to_8_bytes()). + (Johannes) - Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in double quote). (Dmitry) - Fixed bug #47038 (Memory leak in include). (Dmitry) diff --git a/ext/mysqlnd/mysqlnd_portability.h b/ext/mysqlnd/mysqlnd_portability.h index b2334182b9..9dba7fa515 100644 --- a/ext/mysqlnd/mysqlnd_portability.h +++ b/ext/mysqlnd/mysqlnd_portability.h @@ -199,6 +199,11 @@ typedef unsigned long long uint64_t; #define MYSQLND_LLU_SPEC "%llu" #endif +#ifdef _AIX +#define MYSQLND_LL_SPEC "%lli" +#define MYSQLND_LLU_SPEC "%llu" +#endif + #define MYSQLND_SZ_T_SPEC "%zd" #ifndef L64 #define L64(x) x##LL