diff --git a/source/sqlsrv/util.cpp b/source/sqlsrv/util.cpp index a274e2254..2c73da9a9 100644 --- a/source/sqlsrv/util.cpp +++ b/source/sqlsrv/util.cpp @@ -680,6 +680,8 @@ PHP_FUNCTION( sqlsrv_get_config ) namespace { +// Workaround for name collision problem between the SQLSRV and PDO_SQLSRV drivers on Mac +// Place get_error_message into the anonymous namespace in util.cpp sqlsrv_error_const* get_error_message( unsigned int sqlsrv_error_code ) { sqlsrv_error_const *error_message = NULL;