diff options
author | Andrey Hristov <andrey@php.net> | 2010-08-12 12:02:02 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-08-12 12:02:02 +0000 |
commit | c974313aed296dfab6cd7e1859ecf48a5fd581a8 (patch) | |
tree | 37439d75953d95f564a44e8a30874afa317dd009 /ext/mysqlnd/mysqlnd_debug.c | |
parent | d27983e7813cf32d187f9ce9bb652a670751212e (diff) | |
download | php-git-c974313aed296dfab6cd7e1859ecf48a5fd581a8.tar.gz |
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.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c index e49da24366..fc9e8f9715 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); \ |