diff options
author | Anatol Belski <ab@php.net> | 2013-06-27 14:00:56 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-06-27 14:00:56 +0200 |
commit | eb190bb57158e13a6ddcf8da0da7f7c79b52f2be (patch) | |
tree | 72d1e2f5bd0779c95e76d10ec608802d8403f008 /ext/pdo | |
parent | a441d9274b0045de20402b3912d04ca3de57365d (diff) | |
download | php-git-eb190bb57158e13a6ddcf8da0da7f7c79b52f2be.tar.gz |
Fixed symbol export
That's needed for baabd1192973156ac79c35f6d1b0dced4af8e8fb to link
properly.
Diffstat (limited to 'ext/pdo')
-rw-r--r-- | ext/pdo/pdo_dbh.c | 2 | ||||
-rw-r--r-- | ext/pdo/php_pdo_error.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 25db6842f6..833c608f66 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 13d45ebcfe..387436af8f 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)); \ |