Skip to content

Commit

Permalink
Update util.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiwongky authored Mar 28, 2017
1 parent 8fa1729 commit 4057a92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/sqlsrv/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4057a92

Please sign in to comment.