php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60840
Patch bug60840.diff revision 2013-02-19 23:35 UTC by johannes@php.net

Patch bug60840.diff for PDO related Bug #60840

Patch version 2013-02-19 23:35 UTC

Return to Bug #60840 | Download this patch
Patch Revisions:

Developer: johannes@php.net

diff --git a/ext/mysqlnd/mysqlnd_alloc.c b/ext/mysqlnd/mysqlnd_alloc.c
index 325444c..80e8156 100644
--- a/ext/mysqlnd/mysqlnd_alloc.c
+++ b/ext/mysqlnd/mysqlnd_alloc.c
@@ -42,7 +42,7 @@ static const char mysqlnd_free_name[]		= "_mysqlnd_free";
 static const char mysqlnd_pestrndup_name[]	= "_mysqlnd_pestrndup";
 static const char mysqlnd_pestrdup_name[]	= "_mysqlnd_pestrdup";
 
-const char * mysqlnd_debug_std_no_trace_funcs[] =
+PHPAPI const char * mysqlnd_debug_std_no_trace_funcs[] =
 {
 	mysqlnd_emalloc_name,
 	mysqlnd_ecalloc_name,
diff --git a/ext/mysqlnd/mysqlnd_alloc.h b/ext/mysqlnd/mysqlnd_alloc.h
index c8f1bc4..ea2d55f 100644
--- a/ext/mysqlnd/mysqlnd_alloc.h
+++ b/ext/mysqlnd/mysqlnd_alloc.h
@@ -24,7 +24,7 @@
 #ifndef MYSQLND_ALLOC_H
 #define MYSQLND_ALLOC_H
 
-extern const char * mysqlnd_debug_std_no_trace_funcs[];
+extern PHPAPI const char * mysqlnd_debug_std_no_trace_funcs[];
 
 #define MYSQLND_MEM_D	TSRMLS_DC ZEND_FILE_LINE_ORIG_DC
 #define MYSQLND_MEM_C	TSRMLS_CC ZEND_FILE_LINE_CC
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 22:02:16 2014 UTC