Commit:    eb190bb57158e13a6ddcf8da0da7f7c79b52f2be
Author:    Anatol Belski <a...@php.net>         Thu, 27 Jun 2013 14:00:56 +0200
Parents:   a441d9274b0045de20402b3912d04ca3de57365d
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=eb190bb57158e13a6ddcf8da0da7f7c79b52f2be

Log:
Fixed symbol export

That's needed for baabd1192973156ac79c35f6d1b0dced4af8e8fb to link
properly.

Changed paths:
  M  ext/pdo/pdo_dbh.c
  M  ext/pdo/php_pdo_error.h


Diff:
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c
index 25db684..833c608 100644
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -101,7 +101,7 @@ void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, 
const char *sqlstate
 }
 /* }}} */
 
-void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */
+PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC) /* 
{{{ */
 {
        pdo_error_type *pdo_err = &dbh->error_code;
        const char *msg = "<<Unknown>>";
diff --git a/ext/pdo/php_pdo_error.h b/ext/pdo/php_pdo_error.h
index 13d45eb..387436a 100644
--- a/ext/pdo/php_pdo_error.h
+++ b/ext/pdo/php_pdo_error.h
@@ -23,7 +23,7 @@
 
 #include "php_pdo_driver.h"
 
-extern void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC);
+PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC);
 
 #define PDO_DBH_CLEAR_ERR()             do { \
        strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to