johannes Wed Apr 23 16:55:51 2008 UTC
Modified files:
/php-src/ext/mysqlnd mysqlnd.h mysqlnd_debug.c
Log:
- Fix Windows build
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd.h?r1=1.14&r2=1.15&diff_format=u
Index: php-src/ext/mysqlnd/mysqlnd.h
diff -u php-src/ext/mysqlnd/mysqlnd.h:1.14 php-src/ext/mysqlnd/mysqlnd.h:1.15
--- php-src/ext/mysqlnd/mysqlnd.h:1.14 Wed Apr 16 12:53:18 2008
+++ php-src/ext/mysqlnd/mysqlnd.h Wed Apr 23 16:55:51 2008
@@ -18,12 +18,12 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mysqlnd.h,v 1.14 2008/04/16 12:53:18 andrey Exp $ */
+/* $Id: mysqlnd.h,v 1.15 2008/04/23 16:55:51 johannes Exp $ */
#ifndef MYSQLND_H
#define MYSQLND_H
-#define MYSQLND_VERSION "mysqlnd 5.0.3-dev - 080129 - $Revision: 1.14 $"
+#define MYSQLND_VERSION "mysqlnd 5.0.3-dev - 080129 - $Revision: 1.15 $"
#define MYSQLND_VERSION_ID 50002
/* This forces inlining of some accessor functions */
@@ -93,7 +93,7 @@
#define mysqlnd_change_user(conn, user, passwd, db)
(conn)->m->change_user((conn), (user), (passwd), (db) TSRMLS_CC)
#define mysqlnd_debug(x)
_mysqlnd_debug((x) TSRMLS_CC)
-void _mysqlnd_debug(const char *mode TSRMLS_DC);
+PHPAPI void _mysqlnd_debug(const char *mode TSRMLS_DC);
/* Query */
#define mysqlnd_fetch_into(result, flags, ret_val, ext)
(result)->m.fetch_into((result), (flags), (ret_val), (ext) TSRMLS_CC
ZEND_FILE_LINE_CC)
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd_debug.c?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/mysqlnd/mysqlnd_debug.c
diff -u php-src/ext/mysqlnd/mysqlnd_debug.c:1.6
php-src/ext/mysqlnd/mysqlnd_debug.c:1.7
--- php-src/ext/mysqlnd/mysqlnd_debug.c:1.6 Thu Feb 14 15:20:08 2008
+++ php-src/ext/mysqlnd/mysqlnd_debug.c Wed Apr 23 16:55:51 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mysqlnd_debug.c,v 1.6 2008/02/14 15:20:08 andrey Exp $ */
+/* $Id: mysqlnd_debug.c,v 1.7 2008/04/23 16:55:51 johannes Exp $ */
#include "php.h"
#include "mysqlnd.h"
@@ -637,7 +637,7 @@
/* {{{ _mysqlnd_debug */
-void _mysqlnd_debug(const char *mode TSRMLS_DC)
+PHPAPI void _mysqlnd_debug(const char *mode TSRMLS_DC)
{
#ifdef PHP_DEBUG
MYSQLND_DEBUG *dbg = MYSQLND_G(dbg);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php