summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-05-25 21:54:21 +0000
committerAndrey Hristov <andrey@php.net>2010-05-25 21:54:21 +0000
commit348880ce668799fb010fdb17e2a51dd59c0b8c27 (patch)
tree424cd1c8022d35068af72939f13b96efbd9b8380
parent337513ffa0c6c6d2dc8bef09bc86120cad80bc15 (diff)
downloadphp-git-348880ce668799fb010fdb17e2a51dd59c0b8c27.tar.gz
Fix shared build
-rw-r--r--ext/mysqlnd/mysqlnd_debug.c2
-rw-r--r--ext/mysqlnd/mysqlnd_debug.h2
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);