diff options
| -rw-r--r-- | ext/mysqlnd/mysqlnd_debug.c | 2 | ||||
| -rw-r--r-- | ext/mysqlnd/mysqlnd_debug.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c index 0b8a359726..232104a89b 100644 --- a/ext/mysqlnd/mysqlnd_debug.c +++ b/ext/mysqlnd/mysqlnd_debug.c @@ -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, diff --git a/ext/mysqlnd/mysqlnd_debug.h b/ext/mysqlnd/mysqlnd_debug.h index 8fc74568ea..2c935d02e6 100644 --- a/ext/mysqlnd/mysqlnd_debug.h +++ b/ext/mysqlnd/mysqlnd_debug.h @@ -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); |
