andrey Tue, 25 May 2010 21:54:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=299755
Log: Fix shared build Changed paths: U php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.c U php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.h U php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c U php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.h Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.c 2010-05-25 20:16:14 UTC (rev 299754) +++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.c 2010-05-25 21:54:21 UTC (rev 299755) @@ -1210,7 +1210,7 @@ #define MYSQLND_DEBUG_MEMORY 1 -struct st_mysqlnd_allocator_methods mysqlnd_allocator = +PHPAPI struct st_mysqlnd_allocator_methods mysqlnd_allocator = { #if MYSQLND_DEBUG_MEMORY _mysqlnd_emalloc, Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.h =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.h 2010-05-25 20:16:14 UTC (rev 299754) +++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_debug.h 2010-05-25 21:54:21 UTC (rev 299755) @@ -131,7 +131,7 @@ char * (*m_pestrdup)(const char * const ptr, zend_bool persistent MYSQLND_MEM_D); }; -extern struct st_mysqlnd_allocator_methods mysqlnd_allocator; +PHPAPI extern struct st_mysqlnd_allocator_methods mysqlnd_allocator; PHPAPI void * _mysqlnd_emalloc(size_t size MYSQLND_MEM_D); Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c =================================================================== --- php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c 2010-05-25 20:16:14 UTC (rev 299754) +++ php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c 2010-05-25 21:54:21 UTC (rev 299755) @@ -1210,7 +1210,7 @@ #define MYSQLND_DEBUG_MEMORY 1 -struct st_mysqlnd_allocator_methods mysqlnd_allocator = +PHPAPI struct st_mysqlnd_allocator_methods mysqlnd_allocator = { #if MYSQLND_DEBUG_MEMORY _mysqlnd_emalloc, Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.h =================================================================== --- php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.h 2010-05-25 20:16:14 UTC (rev 299754) +++ php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.h 2010-05-25 21:54:21 UTC (rev 299755) @@ -131,7 +131,7 @@ char * (*m_pestrdup)(const char * const ptr, zend_bool persistent MYSQLND_MEM_D); }; -extern struct st_mysqlnd_allocator_methods mysqlnd_allocator; +PHPAPI extern struct st_mysqlnd_allocator_methods mysqlnd_allocator; PHPAPI void * _mysqlnd_emalloc(size_t size MYSQLND_MEM_D);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php