From 92ef63a07b04bb85d6587b2905d068ce8a781061 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Thu, 12 Aug 2010 12:02:02 +0000 Subject: Switch from using PHP_MAJOR_VERSION to separate define for unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again. --- ext/mysqlnd/mysqlnd_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysqlnd/mysqlnd_debug.c') diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c index 5022e03edc..587ff14e2c 100644 --- a/ext/mysqlnd/mysqlnd_debug.c +++ b/ext/mysqlnd/mysqlnd_debug.c @@ -1249,7 +1249,7 @@ PHPAPI struct st_mysqlnd_allocator_methods mysqlnd_allocator = /* Follows code borrowed from zend_builtin_functions.c because the functions there are static */ -#if PHP_MAJOR_VERSION >= 6 +#if MYSQLND_UNICODE /* {{{ gettraceasstring() macros */ #define TRACE_APPEND_CHR(chr) \ *str = (char*)erealloc(*str, *len + 1 + 1); \ -- cgit v1.2.1