From eb190bb57158e13a6ddcf8da0da7f7c79b52f2be Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 27 Jun 2013 14:00:56 +0200 Subject: [PATCH] Fixed symbol export That's needed for baabd1192973156ac79c35f6d1b0dced4af8e8fb to link properly. --- ext/pdo/pdo_dbh.c | 2 +- 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 = "<>"; 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)); \ -- 2.40.0