]> granicus.if.org Git - php/commitdiff
Fix #47535 Compilation failure in ps_fetch_from_1_to_8_bytes()
authorJohannes Schlüter <johannes@php.net>
Mon, 20 Apr 2009 09:16:51 +0000 (09:16 +0000)
committerJohannes Schlüter <johannes@php.net>
Mon, 20 Apr 2009 09:16:51 +0000 (09:16 +0000)
NEWS
ext/mysqlnd/mysqlnd_portability.h

diff --git a/NEWS b/NEWS
index c1c41e6014e957041b72005662d1b9b8dcff5d9d..3a5b17e3b41cd1947a43019b4ae7a590ddcddf4b 100644 (file)
--- 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)
index b2334182b94becd3c42fd62077152ea8681df393..9dba7fa515249dfd69c86a09e4b1be75030b9176 100644 (file)
@@ -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