]> granicus.if.org Git - php/commitdiff
Fix shared build
authorAndrey Hristov <andrey@php.net>
Tue, 25 May 2010 21:54:21 +0000 (21:54 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 25 May 2010 21:54:21 +0000 (21:54 +0000)
ext/mysqlnd/mysqlnd_debug.c
ext/mysqlnd/mysqlnd_debug.h

index 0b8a359726c89d769924b803efea89ca2d3455ca..232104a89b9288ed6f7accf54ed6d4b9c0beb193 100644 (file)
@@ -1210,7 +1210,7 @@ static char * mysqlnd_zend_mm_pestrdup(const char * const ptr, zend_bool persist
 
 #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,
index 8fc74568eab5e9e1e1575248b93fd640e0c725ad..2c935d02e65738b02ce39b41bb81eeffe31c9b5d 100644 (file)
@@ -131,7 +131,7 @@ struct st_mysqlnd_allocator_methods
        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);